pub type OptionalPanicLocation<'a, 'b> = Option<&'a Location<'b>>;Expand description
A type alias for an optional reference to a panic location.
The lifetimes 'a and 'b are tied to the PanicHookInfo from which the
location information is sourced. This ensures that the reference does not
outlive the panic information itself, preventing dangling pointers.
Aliased Type§
pub enum OptionalPanicLocation<'a, 'b> {
None,
Some(&'a Location<'b>),
}