Struct terminate::ParsedPanic[][src]

pub struct ParsedPanic<'panic_info> {
    pub source_file: Cow<'panic_info, str>,
    pub line_number: u32,
    pub column_number: u32,
    pub cause: &'panic_info str,
    pub backtrace: Cow<'static, str>,
    // some fields omitted
}

Fields

source_file: Cow<'panic_info, str>line_number: u32column_number: u32cause: &'panic_info strbacktrace: Cow<'static, str>

Implementations

impl<'panic_info> ParsedPanic<'panic_info>[src]

pub fn thread_name(&self) -> &str[src]

Thread name.

pub fn thread_id(&self) -> ThreadId[src]

Thread identifier.

Trait Implementations

impl<'panic_info> Debug for ParsedPanic<'panic_info>[src]

Auto Trait Implementations

impl<'panic_info> RefUnwindSafe for ParsedPanic<'panic_info>[src]

impl<'panic_info> Send for ParsedPanic<'panic_info>[src]

impl<'panic_info> Sync for ParsedPanic<'panic_info>[src]

impl<'panic_info> Unpin for ParsedPanic<'panic_info>[src]

impl<'panic_info> UnwindSafe for ParsedPanic<'panic_info>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.