[−][src]Struct minidump::MinidumpAssertion
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]
const STREAM_TYPE: MINIDUMP_STREAM_TYPE
[src]
fn read(
bytes: &'a [u8],
_all: &'a [u8],
endian: Endian
) -> Result<MinidumpAssertion, Error>
[src]
bytes: &'a [u8],
_all: &'a [u8],
endian: Endian
) -> Result<MinidumpAssertion, Error>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,