Struct minidump::MinidumpSystemInfo[][src]

pub struct MinidumpSystemInfo {
    pub raw: MINIDUMP_SYSTEM_INFO,
    pub os: Os,
    pub cpu: Cpu,
    // some fields omitted
}
Expand description

Information about the system that generated the minidump.

Fields

raw: MINIDUMP_SYSTEM_INFO

The MINIDUMP_SYSTEM_INFO direct from the minidump

os: Os

The operating system that generated the minidump

cpu: Cpu

The CPU on which the minidump was generated

Implementations

impl MinidumpSystemInfo[src]

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

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

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

pub fn csd_version(&self) -> Option<Cow<'_, str>>[src]

pub fn cpu_info(&self) -> Option<Cow<'_, str>>[src]

Returns a string describing the cpu’s vendor and model.

Trait Implementations

impl Debug for MinidumpSystemInfo[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

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

const STREAM_TYPE: MINIDUMP_STREAM_TYPE[src]

The stream type constant used in the md::MDRawDirectory entry.

fn read(
    bytes: &[u8],
    _all: &[u8],
    endian: Endian
) -> Result<MinidumpSystemInfo, Error>
[src]

Read this MinidumpStream type from bytes. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.