pub fn update_hook<F>(hook_fn: F)where F: Fn(&(dyn Fn(&PanicInfo<'_>) + Send + Sync + 'static), &PanicInfo<'_>) + Sync + Send + 'static,
See std::panic::update_hook
std::panic::update_hook