Expand description
SMBIOS Library
Implements the DMTF System Management BIOS (SMBIOS) Reference Specification 3.5.0.
This library focuses on the tasks involved with reading and interpreting BIOS data.
Modules§
- fmt
- Utilities for formatting and printing
String
s. - fs
- Filesystem manipulation operations.
- io
- Traits, helpers, and type definitions for core I/O functionality.
- strings
- SMBIOS String module
Structs§
- Access
Method Data - System Event Log - Access Method Data
- Additional
Information Entry - Additional Information Entry contained within SMBiosAdditionalInformation
- Additional
Information Entry Iterator - Iterates over the AdditionalInformationEntry entries contained within SMBiosAdditionalInformation
- Associated
Component Handle Iterator - Associated Component Handle Iterator
- Base
Address Modifier - Electrical Current Probe Location and Status
- Baseboard
Features - Baseboard Features
- Bios
Characteristics - BIOS Characteristics
- Bios
Characteristics Extension0 - BIOS Characteristics Extension Byte 0
- Bios
Characteristics Extension1 - BIOS Characteristics Extension Byte 1
- Bios
Language Flags - BIOS Language Flags
- Board
Type Data - Board Type Data
- Cache
Associativity Data - Cache Associativity Data
- Cache
Configuaration - System Cache Configuration
- Chassis
Element - Contained Chassis Element
- Chassis
Security Status Data - Chassis Security Status Data
- Chassis
State Data - Chassis State Data
- Chassis
Type Data - Chassis Type Data
- Connections
- Connections
- Contained
Elements - Contained Elements
- Contained
Elements Iterator - Iterates over the ChassisElement entries within ContainedElements
- Cooling
Device Type AndStatus - Cooling Device Type and Status
- Current
Probe Location AndStatus - Electrical Current Probe Location and Status
- Defined
Struct Table - Defined Struct Table
- Error
Capabilities Iterator - Memory Module Error Correcting Capabilities Iterator
- Error
Correcting Capabilities - Memory Controller Error Correcting Capability
- Error
Correction Type Data - System Cache Error Correction Type Data
- Error
Detecting Method Data - Memory Controller Error Detecting Method Data
- Event
LogType Descriptor - System Event Log Type Descriptor
- Firmware
IdFormat Data - Firmware Id Format Data of SMBiosFirmwareInventoryInformation.
- Firmware
Inventory Characteristics - Firmware Inventory Characteristics of SMBiosFirmwareInventoryInformation
- Firmware
Inventory State Information Data - Firmware Inventory State Information Data of SMBiosFirmwareInventoryInformation.
- Group
Association Item - Group Association Item contained within SMBiosGroupAssociations
- Group
Association Item Iterator - Iterates over the GroupAssociationItem entries contained within SMBiosGroupAssociations
- Handle
- Structure Handle
- Hardware
Security Settings - Hardware Security Settings
- Header
- SMBIOS Header
- Header
Format Data - System Event Log - Header Format Data
- Host
Interface Type Data - Management Controller Host Interface Type Data
- Host
Protocol Type Data - Management Controller Host Interface - Protocol Types Data
- Interleave
Support Data - Memory Controller Information — Interleave Support Data
- Ipmi
Interface Type Data - Baseboard Management Controller (BMC) interface type data
- Load
Handle Pair - Load/Handle Pair contained within SMBiosMemoryChannel
- Load
Handle Pair Iterator - Iterates over the LoadHandlePair entries contained within SMBiosMemoryChannel
- LogStatus
- System Event Log - Log Status
- LogType
Data - System Event Log - Log Type Data
- Management
Device Address Type Data - Management Device — Address Type Data
- Management
Device Type Data - Management Device - Type Data
- Memory
Array Error Correction Data - Memory Array - Error Correction Types Data
- Memory
Array Location Data - Memory Array - Location Data
- Memory
Array UseData - Memory Array - Use Data
- Memory
Channel Type Data - Memory Channel — Channel Type Data
- Memory
Device Technology Data - Memory Device — Memory Technology Data
- Memory
Device Type Data - Memory Device - Type Data
- Memory
Error Granularity Data - Memory Error - Error Granularity Data
- Memory
Error Operation Data - Memory Error - Error Operation Data
- Memory
Error Type Data - Memory Error - Error Type Data
- Memory
Form Factor Data - Memory Device — Form Factor Data
- Memory
Operating Mode Capabilities - Memory Device — Memory Operating Mode Capability
- Memory
Speeds - Memory Controller Information — Memory Speeds
- Memory
Type Details - Memory Device — Type Detail
- Memory
Types - Memory Module Information: Memory Types
- Module
Handle Iterator - Memory Module Handle Iterator
- Module
Voltage - Memory Module Voltage
- Object
Handle Iterator - Object Handle Iterator
- OnBoard
Device - On Board Device entry within SMBiosOnBoardDeviceInformation
- OnBoard
Device Iterator - On-board Device Itereator for OnBoardDevices contained within SMBiosOnBoardDeviceInformation
- OnBoard
Device Type - On Board Device Type
- Pointing
Device Interface Data - Built-in Pointing Device Interface Data
- Pointing
Device Type Data - Built-in Pointing Device Type Data
- Port
Information Connector Type Data - Port Information - Connector Types Data
- Port
Information Port Type Data - Port Types Data
- Portable
Battery Device Chemistry Data - Portable Battery - Device Chemistry Data
- Power
Supply Characteristics - Power Supply Characteristics
- Processor
Architecture Type Data - Processor Architecture Types Data
- Processor
Characteristics - Processor Characteristics
- Processor
Family Data - Processor Family Data
- Processor
Family Data2 - Processor Family Data #2
- Processor
Specific Block - Processor Specific Block contained within SMBiosProcessorAdditionalInformation
- Processor
Status - Processor Socket and CPU Status
- Processor
Supported Voltages - Processor Supported Voltages
- Processor
Type Data - Processor Type Data
- Processor
Upgrade Data - Protocol
Record - Protocol Record Data contained within SMBiosManagementControllerHostInterface
- Protocol
Record Iterator - Iterates over the ProtocolRecord entries contained within SMBiosManagementControllerHostInterface
- SMBios
Additional Information - Additional Information (Type 40)
- SMBios
Baseboard Information - Baseboard (or Module) Information (Type 2)
- SMBios
Bios Language Information - BIOS Language Information (Type 13)
- SMBios
BisEntry Point - Boot Integrity Services (BIS) (Type 31)
- SMBios
Built InPointing Device - Built-in Pointing Device (Type 21)
- SMBios
Cache Information - Cache Information (Type 7)
- SMBios
Cooling Device - Cooling Device (Type 27)
- SMBios
Data - SMBIOS Data
- SMBios
Electrical Current Probe - Electrical Current Probe (Type 29)
- SMBios
EndOf Table - End-of-Table (Type 127)
- SMBios
Entry Point32 - SMBIOS 2.1 (32 bit) Entry Point structure
- SMBios
Entry Point64 - SMBIOS 3.0 (64 bit) Entry Point structure
- SMBios
Firmware Inventory Information - Firmware Inventory Information (Type 45)
- SMBios
Group Associations - Group Associations (Type 14)
- SMBios
Hardware Security - Hardware Security (Type 24)
- SMBios
Inactive - Inactive (Type 126)
- SMBios
Information - BIOS Information (Type 0)
- SMBios
Ipmi Device Information - IPMI Device Information (Type 38)
- SMBios
Management Controller Host Interface - Management Controller Host Interface (Type 42)
- SMBios
Management Device - Management Device (Type 34)
- SMBios
Management Device Component - Management Device Component (Type 35)
- SMBios
Management Device Threshold Data - Management Device Threshold Data (Type 36)
- SMBios
Memory Array Mapped Address - Memory Array Mapped Address (Type 19)
- SMBios
Memory Channel - Memory Channel (Type 37)
- SMBios
Memory Controller Information - Memory Controller Information (Type 5, Obsolete)
- SMBios
Memory Device - Memory Device (Type 17)
- SMBios
Memory Device Mapped Address - Memory Device Mapped Address (Type 20)
- SMBios
Memory Error Information32 - 32-Bit Memory Error Information (Type 18)
- SMBios
Memory Error Information64 - 64-Bit Memory Error Information (Type 33)
- SMBios
Memory Module Information - Memory Module Information (Type 6, Obsolete)
- SMBios
OemStrings - OEM Strings (Type 11)
- SMBios
OnBoard Device Information - On Board Devices Information (Type 10, Obsolete)
- SMBios
Onboard Devices Extended Information - Onboard Devices Extended Information (Type 41)
- SMBios
OutOf Band Remote Access - Out-of-Band Remote Access (Type 30)
- SMBios
Physical Memory Array - Physical Memory Array (Type 16)
- SMBios
Port Connector Information - Port Connector Information (Type 8)
- SMBios
Portable Battery - Portable Battery (Type 22)
- SMBios
Processor Additional Information - Processor Additional Information (Type 44)
- SMBios
Processor Information - Processor Information (Type 4)
- SMBios
String - SMBiosString
- SMBios
String Property - String Property (Type 46)
- SMBios
String Set - SMBIOS String-Set
- SMBios
System Boot Information - System Boot Information (Type 32)
- SMBios
System Chassis Information - System Enclosure or Chassis (Type 3)
- SMBios
System Configuration Options - System Configuration Options (Type 12)
- SMBios
System Event Log - System Event Log (Type 15)
- SMBios
System Information - System Information (Type 1)
- SMBios
System Power Controls - System Power Controls (Type 25)
- SMBios
System Power Supply - System Power Supply (Type 39)
- SMBios
System Reset - System Reset (Type 23)
- SMBios
System Slot - System Slots (Type 9)
- SMBios
Temperature Probe - Temperature Probe (Type 28)
- SMBios
TpmDevice - TPM Device (Type 43)
- SMBios
Type - SMBIOS Structure Type
- SMBios
Unknown - OEM or Unknown Structure
- SMBios
Version - Version of SMBIOS Structure
- SMBios
Voltage Probe - Voltage Probe (Type 26)
- Slot
Current Usage Data - System Slot Current Usage Data
- Slot
Height Data - Slot Height Data
- Slot
Length Data - System Slot Current Usage Data
- Slot
Peer Group - Slot Peer Group entry within SMBiosSystemSlot
- Slot
Peer Group Iterator - On-board Device Itereator for SlotPeerGroups contained within SMBiosSystemSlot
- Slot
Width Data - Data Bus Width Data
- Sram
Types - System Cache SRAM Types
- String
Property IdData - String Property Id Data of SMBiosStringProperty.
- System
Boot Status Data - Boot Status data of SMBiosSystemBootInformation
- System
Cache Type Data - System Cache Type Data
- System
Reset Capabilities - System Reset Capabilities
- System
Slot Characteristics1 - System Slot Characteristics 1
- System
Slot Characteristics2 - System Slot Characteristics 2
- System
Slot Id - System Slots - Slot Id
- System
Slot Type Data - System Slot Type Data
- System
Uuid - System - UUID
- System
Wake UpType Data - System - Wake-up Type Data
- Temperature
Probe Location AndStatus - Temperature Probe Location and Status
- TpmDevice
Characteristics - TPM Device Characteristics
- Type
Descriptors - System Event Log Type Descriptors within SMBiosSystemEventLog
- Type
Descriptors Iterator - Iterates over the EventLogTypeDescriptor entries within TypeDescriptors
- Undefined
Struct - Embodies the three basic parts of an SMBIOS structure
- Undefined
Struct Table - Undefined Struct Table
- Variable
Data Format Type Data - System Event Log - Variable Data Format Type Data
- Vendor
Id - Vendor Id
- Version
Format Data - Version Format Data of SMBiosFirmwareInventoryInformation.
- Voltage
Probe Location AndStatus - Voltage Probe Location and Status
- WinSM
Bios Data - Raw SMBIOS Data
Enums§
- Access
Method - System Event Log - Access Method
- Address
Bit - LS-Bit for Addresses
- AgpSlot
Width - The slot width of an AGP slot specified in the SystemSlotType
- Board
Type - Board Type
- Boot
Option - Boot Option
- Boot
Option OnLimit - Boot Option on Limit
- BusNumber
- Bus Number
- Cache
Associativity - Cache Associativity
- Cache
Location - System Cache Location (relative to the CPU module)
- Cache
Memory Size - Maximum memory capacity, in kilobytes, for this cache item
- Cache
Operational Mode - System Cache Operational Mode
- Chassis
Height - Chassis Height
- Chassis
Lock Presence - Chassis Lock Presence
- Chassis
Security Status - Chassis Security Status
- Chassis
State - Chassis Statue
- Chassis
Type - Chassis Type
- Cooling
Device Status - Cooling Device Status
- Cooling
Device Type - Cooling Device Type
- Core
Count - Processor Core Count
- Core
Count2 - Processor Core Count #2
- Cores
Enabled - Processor Cores Enabled
- Cores
Enabled2 - Processor Cores Enabled #2
- CpuStatus
- CPU Status
- Current
Probe Accuracy - Current Probe Accuracy
- Current
Probe Location - Electrical Current Probe Location
- Current
Probe Resolution - Current Probe Resolution
- Current
Probe Status - Electrical Current Probe Status
- Defined
Struct - SMBIOS Standard Defined Structure
- Device
Function Number - Device/Function Number
- Device
Status - Enabled/Disabled Device Status
- Element
Maximum - Contained Element Maximum
- Element
Minimum - Contained Element Minimum
- Element
Type - Contained Element Type
- Error
Correction Type - System Cache Error Correction Type
- Error
Detecting Method - Memory Controller Error Detecting Method
- Firmware
IdFormat - Firmware Id Format of SMBiosFirmwareInventoryInformation
- Firmware
Image Size - Size of Image in Bytes
- Firmware
Inventory State Information - Firmware Inventory State Information of SMBiosFirmwareInventoryInformation
- Hardware
Security Status - Hardware Security Status
- Header
Format - System Event Log - Header Format
- Host
Interface Type - Management Controller Host Interface Types
- Host
Protocol Type - Management Controller Host Interface - Protocol Types
- Input
Voltage Range Switching - DMTF Input Voltage Range Switching
- Interleave
Support - Memory Controller Information — Interleave Support
- Interrupt
Info - Interrupt Info
- Interrupt
Polarity - Interrupt Polarity
- Interrupt
Trigger Mode - Interrupt Trigger Mode
- Ipmi
Interface Type - Baseboard Management Controller (BMC) interface type
- Language
Format - Language Format
- LogType
- System Event Log - Log Type
- M2Slot
Type - An M.2 SlotType
- MXMSlot
Type - An MXM SlotType
- Management
Device Address Type - Management Device — Address Type
- Management
Device Type - Management Device - Type
- MaxPower
Capacity - Max Power Capacity
- Maximum
Memory Capacity - Maximum memory capacity, in kilobytes, for this array
- Memory
Array Error Correction - Memory Array - Error Correction Types
- Memory
Array Location - Memory Array - Location
- Memory
Array Use - Memory Array - Use
- Memory
Channel Type - Memory Channel — Channel Type
- Memory
Device Technology - Memory Device — Memory Technology
- Memory
Device Type - Memory Device -Type
- Memory
Error Granularity - Memory Error - Error Granularity
- Memory
Error Operation - Memory Error - Error Operation
- Memory
Error Type - Memory Error - Error Type
- Memory
Form Factor - Memory Device — Form Factor
- Memory
Indicated Size - Size of Memory in Bytes
- Memory
Size - Size of Memory
- Memory
Size Extended - Extended Size of Memory
- Memory
Speed - Speed of Memory
- Memory
Speed Extended - Extended Speed of Memory
- PciExpress
Generation - The generation of PciExpress used by the slot.
- PciExpress
Slot Width - The slot width of a PCI Express slot specified in the SystemSlotType
- Pointing
Device Interface - Built-in Pointing Device Interface
- Pointing
Device Type - Built-in Pointing Device Type
- Port
Information Connector Type - Port Information - Connector Types
- Port
Information Port Type - Port Types
- Portable
Battery Design Capacity - Portable Battery - Design Capacity
- Portable
Battery Design Voltage - Portable Battery - Design Voltage
- Portable
Battery Device Chemistry - Portable Battery - Device Chemistry
- Power
Cords - Number of Power Cords
- Power
Supply Status - Power Supply Status
- Power
Supply Type - DMTF Power Supply Type
- Probe
Amperage - Probe Amperage
- Probe
Temperature - Probe Temperature
- Probe
Voltage - Probe Voltage
- Processor
Architecture Type - Processor Architecture Types
- Processor
External Clock - External Clock Frequency in MHz
- Processor
Family - Processor Family
- Processor
Speed - Processor Speed in MHz
- Processor
Type - Processor Type
- Processor
Upgrade - Processor
Voltage - Processor Voltage
- Register
Spacing - Register Spacing
- Reset
Count - Reset Count
- Reset
Limit - Reset Limit
- RomSize
- BIOS ROM size
- Rotational
Speed - Rotational Speed
- SMBios
String Error - SMBiosStringError
- Segment
Group Number - Segment Group Number
- Slot
Current Usage - System Slot Current Usage
- Slot
Height - Slot Height
- Slot
Length - System Slot Length
- Slot
Width - Slot Width
- String
Property Id - String Property Id of SMBiosStringProperty
- System
Boot Status - System Boot Status
- System
Cache Type - System Cache Type
- System
Slot Type - System Slot Type
- System
Uuid Data - System - UUID Data
- System
Wake UpType - System - Wake-up Type
- Temperature
Probe Accuracy - Temperature Probe Accuracy
- Temperature
Probe Location - Temperature Probe Location
- Temperature
Probe Resolution - Temperature Probe Resolution
- Temperature
Probe Status - Temperature Probe Status
- Thread
Count - Processor Thread Count
- Thread
Count2 - Processor Thread Count #2
- Thread
Enabled - Thread Enabled
- Timeout
- Timeout
- Timer
Interval - Timer Interval
- Type
OfDevice - Onboard Device Types
- Variable
Data Format Type - System Event Log - Variable Data Format Type
- Version
Format - Version Format of SMBiosFirmwareInventoryInformation
- Voltage
Probe Accuracy - Voltage Probe Accuracy
- Voltage
Probe Location - Voltage Probe Location
- Voltage
Probe Resolution - Voltage Probe Resolution
- Voltage
Probe Status - Voltage Probe Status
Constants§
- DEV_
MEM_ FILE - Full path to the memory device (contains BIOS entry point and table data on *nix platforms)
- SYS_
ENTRY_ FILE - Full path to smbios_entry_point file on Linux (contains entry point data)
- SYS_
TABLE_ FILE - Full path to the DMI file on Linux (contains BIOS table data)
Traits§
- SMBios
Struct - SMBIOS Structure
- TryInto
- An attempted conversion that consumes
self
, which may or may not be expensive.
Functions§
- dump_
raw - dumps raw data into a file
- load_
raw_ files - Loads raw smbios data files from a given folder and returns Vec
- load_
smbios_ data_ from_ file - Loads raw smbios data from a file and returns SMBiosData or std::io::Error on error.
- raw_
smbios_ from_ device - Returns smbios raw data via /sys/firmware/dmi/tables (on Linux)
- table_
load_ from_ device - Loads SMBiosData from the device via /sys/firmware/dmi/tables (on Linux)