pub type PanicHandler = Arc<dyn Fn(String) + Send + Sync>;
What a pool calls with the message of a task’s panic.
pub struct PanicHandler { /* private fields */ }