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§
source§impl 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§
source§impl Debug for MinidumpAssertion
impl Debug for MinidumpAssertion
source§impl<'a> MinidumpStream<'a> for MinidumpAssertion
impl<'a> MinidumpStream<'a> for MinidumpAssertion
source§const 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.