pub struct SystemInfo {Show 13 fields
pub processor_architecture: u16,
pub processor_level: u16,
pub processor_revision: u16,
pub number_of_processors: u8,
pub product_type: u8,
pub major_version: u32,
pub minor_version: u32,
pub build_number: u32,
pub platform_id: u32,
pub csd_version_rva: u32,
pub suite_mask: u16,
pub reserved2: u16,
pub cpu: CpuInfo,
/* private fields */
}
Fields§
§processor_architecture: u16
§processor_level: u16
§processor_revision: u16
§number_of_processors: u8
§product_type: u8
§major_version: u32
§minor_version: u32
§build_number: u32
§platform_id: u32
§csd_version_rva: u32
§suite_mask: u16
§reserved2: u16
§cpu: CpuInfo
Implementations§
Source§impl SystemInfo
impl SystemInfo
pub fn new(endian: Endian) -> Self
pub fn set_processor_architecture(self, arch: u16) -> Self
pub fn set_platform_id(self, platform_id: u32) -> Self
Trait Implementations§
Source§impl DumpSection for SystemInfo
impl DumpSection for SystemInfo
Source§impl From<SystemInfo> for Section
impl From<SystemInfo> for Section
Source§fn from(info: SystemInfo) -> Self
fn from(info: SystemInfo) -> Self
Converts to this type from the input type.
Source§impl Stream for SystemInfo
impl Stream for SystemInfo
Source§fn stream_type(&self) -> u32
fn stream_type(&self) -> u32
The stream type, used in the stream directory.
Source§fn cite_stream_in(&self, section: Section) -> Section
fn cite_stream_in(&self, section: Section) -> Section
Append an
MDRawDirectory
referring to this stream to section
.Auto Trait Implementations§
impl Freeze for SystemInfo
impl !RefUnwindSafe for SystemInfo
impl !Send for SystemInfo
impl !Sync for SystemInfo
impl Unpin for SystemInfo
impl !UnwindSafe for SystemInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CiteLocation for Twhere
T: DumpSection,
impl<T> CiteLocation for Twhere
T: DumpSection,
Source§fn cite_location_in(&self, section: Section) -> Section
fn cite_location_in(&self, section: Section) -> Section
Append an
MINIDUMP_LOCATION_DESCRIPTOR
to section
referring to this section.