Struct minidump_processor::SystemInfo
source · [−]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: OsThe 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: CpuThe 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: usizeThe number of processors in the system
Will be greater than one for multi-core systems.
Implementations
sourceimpl SystemInfo
impl SystemInfo
sourcepub fn format_os_version(&self) -> Option<Cow<'_, str>>
pub fn format_os_version(&self) -> Option<Cow<'_, str>>
Returns the full available operating system version.
Returns the version and the build, if available, otherwise just the version.
Trait Implementations
sourceimpl Clone for SystemInfo
impl Clone for SystemInfo
sourcefn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more