Enum smbioslib::DefinedStruct[][src]

pub enum DefinedStruct<'a> {
    Information(SMBiosInformation<'a>),
    SystemInformation(SMBiosSystemInformation<'a>),
    BaseBoardInformation(SMBiosBaseboardInformation<'a>),
    SystemChassisInformation(SMBiosSystemChassisInformation<'a>),
    ProcessorInformation(SMBiosProcessorInformation<'a>),
    MemoryControllerInformation(SMBiosMemoryControllerInformation<'a>),
    MemoryModuleInformation(SMBiosMemoryModuleInformation<'a>),
    CacheInformation(SMBiosCacheInformation<'a>),
    PortConnectorInformation(SMBiosPortConnectorInformation<'a>),
    SystemSlot(SMBiosSystemSlot<'a>),
    OnBoardDeviceInformation(SMBiosOnBoardDeviceInformation<'a>),
    OemStrings(SMBiosOemStrings<'a>),
    SystemConfigurationOptions(SMBiosSystemConfigurationOptions<'a>),
    LanguageInformation(SMBiosBiosLanguageInformation<'a>),
    GroupAssociations(SMBiosGroupAssociations<'a>),
    EventLog(SMBiosSystemEventLog<'a>),
    PhysicalMemoryArray(SMBiosPhysicalMemoryArray<'a>),
    MemoryDevice(SMBiosMemoryDevice<'a>),
    MemoryErrorInformation32Bit(SMBiosMemoryErrorInformation32<'a>),
    MemoryArrayMappedAddress(SMBiosMemoryArrayMappedAddress<'a>),
    MemoryDeviceMappedAddress(SMBiosMemoryDeviceMappedAddress<'a>),
    BuiltInPointingDevice(SMBiosBuiltInPointingDevice<'a>),
    PortableBattery(SMBiosPortableBattery<'a>),
    SystemReset(SMBiosSystemReset<'a>),
    HardwareSecurity(SMBiosHardwareSecurity<'a>),
    SystemPowerControls(SMBiosSystemPowerControls<'a>),
    VoltageProbe(SMBiosVoltageProbe<'a>),
    CoolingDevice(SMBiosCoolingDevice<'a>),
    TemperatureProbe(SMBiosTemperatureProbe<'a>),
    ElectricalCurrentProbe(SMBiosElectricalCurrentProbe<'a>),
    OutOfBandRemoteAccess(SMBiosOutOfBandRemoteAccess<'a>),
    BisEntryPoint(SMBiosBisEntryPoint<'a>),
    SystemBootInformation(SMBiosSystemBootInformation<'a>),
    MemoryErrorInformation64Bit(SMBiosMemoryErrorInformation64<'a>),
    ManagementDevice(SMBiosManagementDevice<'a>),
    ManagementDeviceComponent(SMBiosManagementDeviceComponent<'a>),
    ManagementDeviceThresholdData(SMBiosManagementDeviceThresholdData<'a>),
    MemoryChannel(SMBiosMemoryChannel<'a>),
    IpmiDeviceInformation(SMBiosIpmiDeviceInformation<'a>),
    SystemPowerSupply(SMBiosSystemPowerSupply<'a>),
    AdditionalInformation(SMBiosAdditionalInformation<'a>),
    OnboardDevicesExtendedInformation(SMBiosOnboardDevicesExtendedInformation<'a>),
    ManagementControllerHostInterface(SMBiosManagementControllerHostInterface<'a>),
    TpmDevice(SMBiosTpmDevice<'a>),
    ProcessorAdditionalInformation(SMBiosProcessorAdditionalInformation<'a>),
    Inactive(SMBiosInactive<'a>),
    EndOfTable(SMBiosEndOfTable<'a>),
    Undefined(SMBiosUnknown<'a>),
}

SMBIOS Standard Defined Structure

Represents one of the SMBIOS defined structures or, in the case of an OEM defined structure, as a generically defined Unknown variant

Variants

Information(SMBiosInformation<'a>)

BIOS Information (Type 0)

SystemInformation(SMBiosSystemInformation<'a>)

System Information (Type 1)

BaseBoardInformation(SMBiosBaseboardInformation<'a>)

Baseboard (or Module) Information (Type 2)

SystemChassisInformation(SMBiosSystemChassisInformation<'a>)

System Enclosure or Chassis (Type 3)

ProcessorInformation(SMBiosProcessorInformation<'a>)

Processor Information (Type 4)

MemoryControllerInformation(SMBiosMemoryControllerInformation<'a>)

Memory Controller Information (Type 5, Obsolete)

MemoryModuleInformation(SMBiosMemoryModuleInformation<'a>)

Memory Module Information (Type 6, Obsolete)

CacheInformation(SMBiosCacheInformation<'a>)

Cache Informaiton (Type 7)

PortConnectorInformation(SMBiosPortConnectorInformation<'a>)

Port Connector Information (Type 8)

SystemSlot(SMBiosSystemSlot<'a>)

System Slot Information (Type 9)

OnBoardDeviceInformation(SMBiosOnBoardDeviceInformation<'a>)

On Board Devices Information (Type 10, Obsolete)

OemStrings(SMBiosOemStrings<'a>)

OEM Strings (Type 11)

SystemConfigurationOptions(SMBiosSystemConfigurationOptions<'a>)

System Configuration Options (Type 12)

LanguageInformation(SMBiosBiosLanguageInformation<'a>)

BIOS Language Information (Type 13)

GroupAssociations(SMBiosGroupAssociations<'a>)

Group Associations (Type 14)

EventLog(SMBiosSystemEventLog<'a>)

System Event Log (Type 15)

PhysicalMemoryArray(SMBiosPhysicalMemoryArray<'a>)

Physical Memory Array (Type 16)

MemoryDevice(SMBiosMemoryDevice<'a>)

Memory Device (Type 17)

MemoryErrorInformation32Bit(SMBiosMemoryErrorInformation32<'a>)

32-Bit Memory Error Information (Type 18)

MemoryArrayMappedAddress(SMBiosMemoryArrayMappedAddress<'a>)

Memory Array Mapped Address (Type 19)

MemoryDeviceMappedAddress(SMBiosMemoryDeviceMappedAddress<'a>)

Memory Device Mapped Address (Type 20)

BuiltInPointingDevice(SMBiosBuiltInPointingDevice<'a>)

Built-in Pointing Device (Type 21)

PortableBattery(SMBiosPortableBattery<'a>)

Portable Battery (Type 22)

SystemReset(SMBiosSystemReset<'a>)

System Reset (Type 23)

HardwareSecurity(SMBiosHardwareSecurity<'a>)

Hardware Security (Type 24)

SystemPowerControls(SMBiosSystemPowerControls<'a>)

System Power Controls (Type 25)

VoltageProbe(SMBiosVoltageProbe<'a>)

Voltage Probe (Type 26)

CoolingDevice(SMBiosCoolingDevice<'a>)

Cooling Device (Type 27)

TemperatureProbe(SMBiosTemperatureProbe<'a>)

Temperature Probe (Type 28)

ElectricalCurrentProbe(SMBiosElectricalCurrentProbe<'a>)

Electrical Current Probe (Type 29)

OutOfBandRemoteAccess(SMBiosOutOfBandRemoteAccess<'a>)

Out-of-Band Remote Access (Type 30)

BisEntryPoint(SMBiosBisEntryPoint<'a>)

Boot Integrity Services (BIS) (Type 31)

SystemBootInformation(SMBiosSystemBootInformation<'a>)

System Boot Information (Type 32)

MemoryErrorInformation64Bit(SMBiosMemoryErrorInformation64<'a>)

64-Bit Memory Error Information (Type 33)

ManagementDevice(SMBiosManagementDevice<'a>)

Management Device (Type 34)

ManagementDeviceComponent(SMBiosManagementDeviceComponent<'a>)

Management Device Component (Type 35)

ManagementDeviceThresholdData(SMBiosManagementDeviceThresholdData<'a>)

Management Device Threshold Data (Type 36)

MemoryChannel(SMBiosMemoryChannel<'a>)

Memory Channel (Type 37)

IpmiDeviceInformation(SMBiosIpmiDeviceInformation<'a>)

IPMI Device Information (Type 38)

SystemPowerSupply(SMBiosSystemPowerSupply<'a>)

Power Supply (Type 39)

AdditionalInformation(SMBiosAdditionalInformation<'a>)

Additional Information (Type 40)

OnboardDevicesExtendedInformation(SMBiosOnboardDevicesExtendedInformation<'a>)

Onboard Devices Extended Information (Type 41)

ManagementControllerHostInterface(SMBiosManagementControllerHostInterface<'a>)

Management Controller Host Interface (Type 42)

TpmDevice(SMBiosTpmDevice<'a>)

TPM Device (Type 43)

ProcessorAdditionalInformation(SMBiosProcessorAdditionalInformation<'a>)

Processor Additional Information (Type 44)

Inactive(SMBiosInactive<'a>)

Inactive (Type 126)

EndOfTable(SMBiosEndOfTable<'a>)

End-of-Table (Type 127)

Undefined(SMBiosUnknown<'a>)

OEM-Defined or Unknown Structure

  • A structure with a type value not yet defined, such as by a DMTF specification that supercedes the types known by this library
  • An OEM type with a value > 127.

Trait Implementations

impl<'a> Debug for DefinedStruct<'a>[src]

impl<'a> From<&'a UndefinedStruct> for DefinedStruct<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for DefinedStruct<'a>

impl<'a> Send for DefinedStruct<'a>

impl<'a> Sync for DefinedStruct<'a>

impl<'a> Unpin for DefinedStruct<'a>

impl<'a> UnwindSafe for DefinedStruct<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.