pub struct ExternalPanicInfo<'a> { /* private fields */ }
Expand description
Information passed to a PanicHook
.
Analogous to std::panic::PanicHookInfo
.
Implementations§
Source§impl ExternalPanicInfo<'_>
impl ExternalPanicInfo<'_>
pub fn payload(&self) -> &Payload
pub fn message(&self) -> Option<&PanicMessage<'_>>
pub fn location(&self) -> Option<&Location<'_>>
pub fn can_unwind(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExternalPanicInfo<'a>
impl<'a> !RefUnwindSafe for ExternalPanicInfo<'a>
impl<'a> !Send for ExternalPanicInfo<'a>
impl<'a> !Sync for ExternalPanicInfo<'a>
impl<'a> Unpin for ExternalPanicInfo<'a>
impl<'a> !UnwindSafe for ExternalPanicInfo<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more