Skip to main content

Crate smbios

Crate smbios 

Source
Expand description

Safe Rust interface for parsing SMBIOS tables and structures, matching smbios.h / smbios.cc.

Structs§

BaseboardInformationStruct
SMBIOS Baseboard Information Struct.
BiosInformationStruct2_0
SMBIOS BIOS Information Struct v2.0.
BiosInformationStruct2_4
SMBIOS BIOS Information Struct v2.4.
EntryPoint
Unified abstraction over SMBIOS 2.1 and 3.0 entry points.
EntryPoint2_1
System structure identifying where SMBIOS v2.1 structs are in memory.
EntryPoint3_0
System structure identifying where SMBIOS v3.0 structs are in memory.
Header
SMBIOS common struct header.
SpecVersion
Utility for comparing SMBIOS specification versions.
StringTable
Utility for working with the table of null-terminated strings after each SMBIOS structure.
StructType
SMBIOS Structure Type identifier.
SystemInformationStruct2_0
SMBIOS System Information Struct v2.0.
SystemInformationStruct2_1
SMBIOS System Information Struct v2.1.
SystemInformationStruct2_4
SMBIOS System Information Struct v2.4.

Enums§

EntryPointType
Type representing the underlying entry point version reference.
EntryPointVersion
SMBIOS EntryPoint version.

Constants§

SMBIOS2_ANCHOR
SMBIOS2_INTERMEDIATE_ANCHOR
SMBIOS3_ANCHOR

Functions§

compute_checksum
Computes the 8-bit checksum of a byte slice.