Crate dmidecode

Source
Expand description

§DMIDECODE

This library reports information about system’s hardware as described in system BIOS according to the SMBIOS/DMI standard. Each SMBIOS type refers to separate struct.

SMBIOS specification defines the following data structures:

Re-exports§

pub use structures::*;

Modules§

bitfield
Handle Bit Field values in SMBIOS structure
structures
SMBIOS structures

Structs§

EntryPointV2
An SMBIOSv2 EntryPoint structure.
EntryPointV3
An SMBIOSv3 EntryPoint structure.
RawStructure
The raw SMBIOS structure information for structures that are not handled by this crate, such as Oem structures.
SmbiosVersion
The version number associated with the Smbios EntryPoint
StructureStrings
An iterator over structure strings
Structures
An iterator that traverses the SMBIOS structure tables. This struct is produced by the structures method on EntryPoint. See its documentation for more details.

Enums§

EntryPoint
InfoType
SMBIOS Table information variant
InvalidEntryPointError
Failure type for trying to find the SMBIOS EntryPoint structure in memory.
MalformedStructureError
Failure type for trying to decode the SMBIOS Structures iterator into the Structure variant type.
Structure
Variant structure for decoding the SMBIOS table types.

Traits§

TryFromBytes
General trait for slice -> unsigned conversion