[−][src]Function ffi_support::abort_on_panic::call_with_result
pub fn call_with_result<R, E, F>(
out_error: &mut ExternError,
callback: F
) -> R::Value where
F: FnOnce() -> Result<R, E>,
E: Into<ExternError>,
R: IntoFfi,
Same as the root call_with_result
, but aborts on panic instead of unwinding. See the
call_with_result
documentation for more.