Module panic
Panic support in the standard library.
Structs
- PanicHookInfo A struct providing information about a panic.
Enums
- BacktraceStyle The configuration for whether and how the default panic hook will capture and display the backtrace.
Functions
- always_abort Makes all future panics abort directly without running the panic hook or unwinding.
- catch_unwind Invokes a closure, capturing the cause of an unwinding panic if one occurs.
- get_backtrace_style Checks whether the standard library's panic hook will capture and print a backtrace.
- panic_any Panics the current thread with the given message as the panic payload.
- resume_unwind Triggers a panic without invoking the panic hook.
- set_backtrace_style Configures whether the default panic hook will capture and display a backtrace.
Type Aliases
- PanicInfo A struct providing information about a panic.