Function mentat_ffi::utils::error::translate_void_result
[−]
[src]
pub unsafe fn translate_void_result<E>(
result: Result<(), E>,
error: *mut ExternError
) where
E: Display,
Identical to translate_result
, but with additional type checking for the case that we have
a Result<(), E>
(which we're about to drop on the floor).