Type Alias PanicHandler

Source
pub(crate) type PanicHandler = dyn Fn(Box<dyn Any + Send>) + Send + Sync;
Expand description

The type for a panic handling closure. Note that this same closure may be invoked multiple times in parallel.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: (unsized)