pub fn catch_panic<F>( f: F) -> Result<i32, Box<dyn Any + Send + 'static, Global>>where F: FnOnce() -> i32 + UnwindSafe,