pub trait IntoPanicHook { // Required method fn into_panic_hook( self, ) -> Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>; }
Turn something into a panic hook.