pub fn catch_unwind<R, F>(f: F) -> Result<R, Payload>where F: FnOnce() -> R + UnwindSafe,
Like std::panic::catch_unwind.
std::panic::catch_unwind