[][src]Function ffi_support::abort_on_panic::with_abort_on_panic

pub fn with_abort_on_panic<R, F>(callback: F) -> R where
    F: FnOnce() -> R, 

A helper function useful for cases where you'd like to abort on panic, but aren't in a position where you'd like to return an FFI-compatible type.