[][src]Struct minidump::MinidumpAssertion

pub struct MinidumpAssertion {
    pub raw: MINIDUMP_ASSERTION_INFO,
}

Information about an assertion that caused a crash.

Fields

raw: MINIDUMP_ASSERTION_INFO

Implementations

impl MinidumpAssertion[src]

pub fn expression(&self) -> Option<String>[src]

Get the assertion expression as a String if one exists.

pub fn function(&self) -> Option<String>[src]

Get the function name where the assertion happened as a String if it exists.

pub fn file(&self) -> Option<String>[src]

Get the source file name where the assertion happened as a String if it exists.

pub fn print<T: Write>(&self, f: &mut T) -> Result<()>[src]

Write a human-readable description of this MinidumpAssertion to f.

This is very verbose, it is the format used by minidump_dump.

Trait Implementations

impl<'a> MinidumpStream<'a> for MinidumpAssertion[src]

Auto Trait Implementations

impl RefUnwindSafe for MinidumpAssertion

impl Send for MinidumpAssertion

impl Sync for MinidumpAssertion

impl Unpin for MinidumpAssertion

impl UnwindSafe for MinidumpAssertion

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.