pub struct Panic<'data> {
pub thread: ThreadName<'data>,
pub message: Option<&'data str>,
pub location: Option<Location<'data>>,
pub title: &'data str,
pub path: Option<&'data Path>,
pub trace: Backtrace,
}
Expand description
Panic handler information. This structure will change with updates!
{BR}== title - {BM}thread{BR} Panic ==
{0}message
{BG}→ location
{0}backtrace```
Fields§
§thread: ThreadName<'data>
Panicking thread
message: Option<&'data str>
Panic text
location: Option<Location<'data>>
Panic location
title: &'data str
Application title
path: Option<&'data Path>
Log file path, if you want to show it to the user
trace: Backtrace
Backtrace (or not)
Trait Implementations§
Auto Trait Implementations§
impl<'data> Freeze for Panic<'data>
impl<'data> RefUnwindSafe for Panic<'data>
impl<'data> Send for Panic<'data>
impl<'data> Sync for Panic<'data>
impl<'data> Unpin for Panic<'data>
impl<'data> UnwindSafe for Panic<'data>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more