pub struct SystemInfo {
    pub os: Os,
    pub os_version: Option<String>,
    pub os_build: Option<String>,
    pub cpu: Cpu,
    pub cpu_info: Option<String>,
    pub cpu_microcode_version: Option<u64>,
    pub cpu_count: usize,
}
Expand description

Information about the system that produced a Minidump.

Fields

os: Os

The operating system that produced the minidump

os_version: Option<String>

A string identifying the version of the operating system.

This may look like “5.1.2600” or “10.4.8”, if present

os_build: Option<String>

A string identifying the exact build of the operating system.

This may look like “Service Pack 2” or “8L2127”, if present. On Windows, this is the CSD version, on Linux, extended build information and macOS, the product build version.

cpu: Cpu

The CPU on which the dump was produced

cpu_info: Option<String>

A string further identifying the specific CPU

For example, “GenuineIntel level 6 model 13 stepping 8”, if present.

cpu_microcode_version: Option<u64>

The microcode version of the cpu

cpu_count: usize

The number of processors in the system

Will be greater than one for multi-core systems.

Implementations

Returns the full available operating system version.

Returns the version and the build, if available, otherwise just the version.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more