pub(crate) type PanicHandler = dyn Fn(Box<dyn Any + Send>) + Send + Sync;
The type for a panic handling closure. Note that this same closure may be invoked multiple times in parallel.