Struct minidump::MinidumpAssertion
source · [−]pub struct MinidumpAssertion {
pub raw: MINIDUMP_ASSERTION_INFO,
}
Expand description
Information about an assertion that caused a crash.
Fields
raw: MINIDUMP_ASSERTION_INFO
Implementations
sourceimpl MinidumpAssertion
impl MinidumpAssertion
sourcepub fn expression(&self) -> Option<String>
pub fn expression(&self) -> Option<String>
Get the assertion expression as a String
if one exists.
sourcepub fn function(&self) -> Option<String>
pub fn function(&self) -> Option<String>
Get the function name where the assertion happened as a String
if it exists.
Trait Implementations
sourceimpl Debug for MinidumpAssertion
impl Debug for MinidumpAssertion
sourceimpl<'a> MinidumpStream<'a> for MinidumpAssertion
impl<'a> MinidumpStream<'a> for MinidumpAssertion
sourceconst STREAM_TYPE: u32 = 1_197_932_546u32
const STREAM_TYPE: u32 = 1_197_932_546u32
The stream type constant used in the md::MDRawDirectory
entry.
This is usually a MINIDUMP_STREAM_TYPE but it’s left as a u32
to allow external projects to add support for their own custom streams. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more