[−][src]Struct symbolic_minidump::processor::SystemInfo
Information about the CPU and OS on which a minidump was generated.
Methods
impl SystemInfo
[src]
pub fn os_name(&self) -> String
[src]
A string identifying the operating system, such as "Windows NT", "Mac OS X", or "Linux".
If the information is present in the dump but its value is unknown, this field will contain a numeric value. If the information is not present in the dump, this field will be empty.
pub fn os_parts(&self) -> (String, String)
[src]
Strings identifying the version and build number of the operating system.
If the dump does not contain either information, the component will be empty. Tries to parse the version number from the build if it is not apparent from the version string.
pub fn os_version(&self) -> String
[src]
A string identifying the version of the operating system.
The version will be formatted as three-component semantic version, such as "5.1.2600" or "10.4.8". If the dump does not contain this information, this field will contain "0.0.0".
pub fn os_build(&self) -> String
[src]
A string identifying the build of the operating system.
This build version is platform dependent, such as "Service Pack 2" or "8L2127". If the dump does not contain this information, this field will be empty.
pub fn cpu_family(&self) -> String
[src]
A string identifying the basic CPU family, such as "x86" or "ppc".
If this information is present in the dump but its value is unknown, this field will contain a numeric value. If the information is not present in the dump, this field will be empty.
pub fn cpu_arch(&self) -> Arch
[src]
The architecture of the CPU parsed from ProcessState::cpu_family
.
If this information is present in the dump but its value is unknown
or if the value is missing, this field will contain Arch::Unknown
.
pub fn cpu_info(&self) -> String
[src]
A string further identifying the specific CPU.
This information depends on the CPU vendor, such as "GenuineIntel level 6 model 13 stepping 8". If the information is not present in the dump, or additional identifying information is not defined for the CPU family, this field will be empty.
pub fn cpu_count(&self) -> u32
[src]
The number of processors in the system.
Will be greater than one for multi-core systems.
Trait Implementations
Auto Trait Implementations
impl Send for SystemInfo
impl Sync for SystemInfo
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,