pub trait IntoPanicHook {
// Required method
fn into_panic_hook(
self,
) -> Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>;
}Expand description
Turn something into a panic hook.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".