Function set_hook

Source
pub fn set_hook(hook: &'static (dyn Fn(&PanicInfo<'_>) + Send + Sync))
Expand description

Like std::panic::set_hook.