Trait smbioslib::SMBiosStruct[][src]

pub trait SMBiosStruct<'a> {
    const STRUCT_TYPE: u8;

    fn new(parts: &'a UndefinedStruct) -> Self;
fn parts(&self) -> &'a UndefinedStruct; }
Expand description

SMBIOS Structure

A type implementing this trait provides a representation of an SMBIOS type.

Associated Constants

The SMBIOS structure type

Example: System Information (Type 1) this is set to 1.

Required methods

Creates a new instance of the implementing SMBIOS type

Contains the standard parts/sections of the implementing SMBIOS type.

Implementors