pub fn rw_catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R>
Expand description
Invokes a closure, capturing the cause of an unwinding panic if one occurs.
See the module-level documentation for why this is needed.
pub fn rw_catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R>
Invokes a closure, capturing the cause of an unwinding panic if one occurs.
See the module-level documentation for why this is needed.