pub struct MINIDUMP_MAC_CRASH_INFO {
pub stream_type: u32,
pub record_count: u32,
pub record_start_size: u32,
pub records: [MINIDUMP_LOCATION_DESCRIPTOR; 20],
}
Expand description
MacOS __DATA,__crash_info data.
This is the format of the MINIDUMP_STREAM_TYPE::MozMacosCrashInfoStream
. The individual
MINIDUMP_MAC_CRASH_INFO_RECORD
entries follow this header in the stream.
Fields
stream_type: u32
record_count: u32
The number of MINIDUMP_MAC_CRASH_INFO_RECORD
s.
record_start_size: u32
The size of the “fixed-size” part of MINIDUMP_MAC_CRASH_INFO_RECORD. Used to offset to the variable-length portion of the struct, where C-strings are stored. This allows us to access all the fields we know about, even when newer versions of this format introduce new ones.
records: [MINIDUMP_LOCATION_DESCRIPTOR; 20]
Trait Implementations
sourceimpl Debug for MINIDUMP_MAC_CRASH_INFO
impl Debug for MINIDUMP_MAC_CRASH_INFO
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MAC_CRASH_INFO where
MINIDUMP_MAC_CRASH_INFO: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MAC_CRASH_INFO where
MINIDUMP_MAC_CRASH_INFO: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(MINIDUMP_MAC_CRASH_INFO, usize), <MINIDUMP_MAC_CRASH_INFO as TryFromCtx<'a, Endian, [u8]>>::Error>
Auto Trait Implementations
impl RefUnwindSafe for MINIDUMP_MAC_CRASH_INFO
impl Send for MINIDUMP_MAC_CRASH_INFO
impl Sync for MINIDUMP_MAC_CRASH_INFO
impl Unpin for MINIDUMP_MAC_CRASH_INFO
impl UnwindSafe for MINIDUMP_MAC_CRASH_INFO
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