Struct smbioslib::SMBiosOnBoardDeviceInformation[][src]

pub struct SMBiosOnBoardDeviceInformation<'a> { /* fields omitted */ }

On Board Devices Information (Type 10, Obsolete)

The information in this structure defines the attributes of devices that are onboard (soldered onto) a system element, usually the baseboard. In general, an entry in this table implies that the BIOS has some level of control over the enabling of the associated device for use by the system.

NOTE This structure is obsolete starting with version 2.6 of this specification; the [SMBiosOnboardDevicesExtendedInformation] (Type 41) structure should be used instead. BIOS providers can choose to implement both types to allow existing SMBIOS browsers to properly display the system’s onboard devices information.

Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17

Implementations

impl<'a> SMBiosOnBoardDeviceInformation<'a>[src]

pub fn number_of_devices(&self) -> usize[src]

The number of OnBoardDevice entries

pub fn onboard_device_iterator(&'a self) -> OnBoardDeviceIterator<'a>

Notable traits for OnBoardDeviceIterator<'a>

impl<'a> Iterator for OnBoardDeviceIterator<'a> type Item = OnBoardDevice<'a>;
[src]

Iterates over the OnBoardDevice entries

Trait Implementations

impl Debug for SMBiosOnBoardDeviceInformation<'_>[src]

impl<'a> SMBiosStruct<'a> for SMBiosOnBoardDeviceInformation<'a>[src]

Auto Trait Implementations

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.