pub fn catch_unwind<F, R>(f: F) -> Result<R, Error>where F: FnOnce() -> Result<R, Error> + UnwindSafe,