pub type PanicInfo<'a> = PanicHookInfo<'a>;
👎Deprecated since 1.82.0: use
PanicHookInfo
insteadExpand description
A struct providing information about a panic.
PanicInfo
has been renamed to PanicHookInfo
to avoid confusion with
core::panic::PanicInfo
.
Aliased Type§
struct PanicInfo<'a> {
payload: &'a (dyn Any + Send + 'static),
location: &'a Location<'a>,
can_unwind: bool,
force_no_backtrace: bool,
}
Fields§
§payload: &'a (dyn Any + Send + 'static)
§location: &'a Location<'a>
§can_unwind: bool
§force_no_backtrace: bool