Module panic
Panic support in the standard library.
Structs
- AssertUnwindSafe A simple wrapper around a type to assert that it is unwind safe.
- Location A struct containing information about the location of a panic.
- PanicInfo A struct providing information about a panic.
-
PanicMessage
A message that was given to the
panic!()macro.
Traits
- RefUnwindSafe A marker trait representing types where a shared reference is considered unwind safe.
- UnwindSafe A marker trait which represents "panic safe" types in Rust.
Functions
- abort_unwind Invokes a closure, aborting if the closure unwinds.