Expand description
Panic support in the standard library.
Re-exportsยง
pub use self::location::Location;
pub use self::panic_info::PanicInfo;
pub use self::panic_info::PanicMessage;
pub use self::unwind_safe::AssertUnwindSafe;
pub use self::unwind_safe::RefUnwindSafe;
pub use self::unwind_safe::UnwindSafe;
Modulesยง
- location ๐
- panic_
info ๐ - unwind_
safe ๐
Macrosยง
- const_
assert ๐ปExperimental - A version of
assert
that prints a non-formatting message in const contexts. - const_
panic ๐ปExperimental - Helper macro for panicking in a
const fn
. Invoke as: - panic_
2015 ๐ปExperimental - panic_
2021 ๐ปExperimental - unreachable_
2015 ๐ปExperimental - unreachable_
2021 ๐ปExperimental
Traitsยง
- Panic
Payload ๐ปExperimental - An internal trait used by std to pass data from std to
panic_unwind
and other panic runtimes. Not intended to be stabilized any time soon, do not use.
Functionsยง
- abort_
unwind Experimental - Invokes a closure, aborting if the closure unwinds.