Function emf_core_base_rs::global::extensions::unwind_internal::catch_unwind [−][src]
pub fn catch_unwind<T>(f: impl FnOnce() -> T + UnwindSafe) -> Result<T, Signal>
Sets up the unwinding for the closure f
Any panic or termination signal, that occurs within f
, is caught and returned.
Return
Return value from f
or caught signal.