Module ffi_support::abort_on_panic [−][src]
This module exists just to expose a variant of call_with_result
and call_with_output
that aborts, instead of unwinding, on panic.
Functions
call_with_output | Same as the root |
call_with_result | Same as the root |
with_abort_on_panic | 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. |