Struct smbioslib::SMBiosManagementDevice
source · pub struct SMBiosManagementDevice<'a> { /* private fields */ }
Expand description
Management Device (Type 34)
The information in this structure defines the attributes of a Management Device.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations§
source§impl<'a> SMBiosManagementDevice<'a>
impl<'a> SMBiosManagementDevice<'a>
sourcepub fn description(&self) -> SMBiosString
pub fn description(&self) -> SMBiosString
Additional descriptive information about the device or its location
sourcepub fn device_type(&self) -> Option<ManagementDeviceTypeData>
pub fn device_type(&self) -> Option<ManagementDeviceTypeData>
Device’s type
sourcepub fn address_type(&self) -> Option<ManagementDeviceAddressTypeData>
pub fn address_type(&self) -> Option<ManagementDeviceAddressTypeData>
Type of addressing used to access the device
Trait Implementations§
source§impl Debug for SMBiosManagementDevice<'_>
impl Debug for SMBiosManagementDevice<'_>
source§impl<'a> SMBiosStruct<'a> for SMBiosManagementDevice<'a>
impl<'a> SMBiosStruct<'a> for SMBiosManagementDevice<'a>
source§const STRUCT_TYPE: u8 = 34u8
const STRUCT_TYPE: u8 = 34u8
The SMBIOS structure type Read more
source§fn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
source§fn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SMBiosManagementDevice<'a>
impl<'a> Send for SMBiosManagementDevice<'a>
impl<'a> Sync for SMBiosManagementDevice<'a>
impl<'a> Unpin for SMBiosManagementDevice<'a>
impl<'a> UnwindSafe for SMBiosManagementDevice<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more