Module core::panic

1.41.0 · source · []
Expand description

Panic support in the standard library.

Modules

location 🔒
panic_info 🔒

Macros

panic_2015Experimental
panic_2021Experimental
unreachable_2015Experimental
unreachable_2021Experimental

Structs

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.

Traits

BoxMeUpExperimental

An internal trait used by libstd to pass data from libstd to panic_unwind and other panic runtimes. Not intended to be stabilized any time soon, do not use.

A marker trait representing types where a shared reference is considered unwind safe.

A marker trait which represents “panic safe” types in Rust.