Module core::panic

1.41.0 · source ·
Expand description

Panic support in the standard library.


  • A simple wrapper around a type to assert that it is unwind safe.
  • A struct containing information about the location of a panic.
  • A struct providing information about a panic.
  • A message that was given to the panic!() macro.


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