Struct smbioslib::SMBiosOnBoardDeviceInformation
source · [−]pub struct SMBiosOnBoardDeviceInformation<'a> { /* private fields */ }
Expand description
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 super::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
sourceimpl<'a> SMBiosOnBoardDeviceInformation<'a>
impl<'a> SMBiosOnBoardDeviceInformation<'a>
sourcepub fn number_of_devices(&self) -> usize
pub fn number_of_devices(&self) -> usize
The number of OnBoardDevice entries
sourcepub fn onboard_device_iterator(&'a self) -> OnBoardDeviceIterator<'a>ⓘNotable traits for OnBoardDeviceIterator<'a>impl<'a> Iterator for OnBoardDeviceIterator<'a> type Item = OnBoardDevice<'a>;
pub fn onboard_device_iterator(&'a self) -> OnBoardDeviceIterator<'a>ⓘNotable traits for OnBoardDeviceIterator<'a>impl<'a> Iterator for OnBoardDeviceIterator<'a> type Item = OnBoardDevice<'a>;
Iterates over the OnBoardDevice entries
Trait Implementations
sourceimpl Debug for SMBiosOnBoardDeviceInformation<'_>
impl Debug for SMBiosOnBoardDeviceInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosOnBoardDeviceInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosOnBoardDeviceInformation<'a>
sourceconst STRUCT_TYPE: u8
const STRUCT_TYPE: u8
The SMBIOS structure type Read more
sourcefn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
sourcefn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
sourceimpl Serialize for SMBiosOnBoardDeviceInformation<'_>
impl Serialize for SMBiosOnBoardDeviceInformation<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosOnBoardDeviceInformation<'a>
impl<'a> Send for SMBiosOnBoardDeviceInformation<'a>
impl<'a> Sync for SMBiosOnBoardDeviceInformation<'a>
impl<'a> Unpin for SMBiosOnBoardDeviceInformation<'a>
impl<'a> UnwindSafe for SMBiosOnBoardDeviceInformation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more