Module panic

Module panic 

1.41.0 · Source
Expand description

Panic support in the standard library.

Structs§

AssertUnwindSafeNon-ferrocene_certified
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.
PanicMessageNon-ferrocene_certified
A message that was given to the panic!() macro.

Traits§

RefUnwindSafeNon-ferrocene_certified
A marker trait representing types where a shared reference is considered unwind safe.
UnwindSafeNon-ferrocene_certified
A marker trait which represents “panic safe” types in Rust.

Functions§

abort_unwindExperimentalNon-ferrocene_certified
Invokes a closure, aborting if the closure unwinds.