Struct PanicInfo
1.41.0 · Source pub struct PanicInfo<'a> { }
Expand description
A struct providing information about a panic.
A PanicInfo
structure is passed to the panic handler defined by #[panic_handler]
.
For the type used by the panic hook mechanism in std
, see std::panic::PanicHookInfo
.
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.