pub struct SMBiosManagementDeviceComponent<'a> { /* private fields */ }
Expand description
§Management Device Component (Type 35)
This structure associates a cooling device or environmental probe with structures that define the controlling hardware device and (optionally) the component’s thresholds.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations§
Source§impl<'a> SMBiosManagementDeviceComponent<'a>
impl<'a> SMBiosManagementDeviceComponent<'a>
Sourcepub fn description(&self) -> SMBiosString
pub fn description(&self) -> SMBiosString
Number of the string that contains additional descriptive information about the component
Sourcepub fn management_device_handle(&self) -> Option<Handle>
pub fn management_device_handle(&self) -> Option<Handle>
Handle, or instance number, of the Management Device that contains this component
Sourcepub fn component_handle(&self) -> Option<Handle>
pub fn component_handle(&self) -> Option<Handle>
Handle, or instance number, of the probe or cooling device that defines this component
Sourcepub fn threshold_handle(&self) -> Option<Handle>
pub fn threshold_handle(&self) -> Option<Handle>
Handle, or instance number, associated with the device thresholds; A value of 0FFFFh indicates that no Threshold Data structure is associated with this component.
Trait Implementations§
Source§impl Debug for SMBiosManagementDeviceComponent<'_>
impl Debug for SMBiosManagementDeviceComponent<'_>
Source§impl<'a> SMBiosStruct<'a> for SMBiosManagementDeviceComponent<'a>
impl<'a> SMBiosStruct<'a> for SMBiosManagementDeviceComponent<'a>
Source§const STRUCT_TYPE: u8 = 35u8
const STRUCT_TYPE: u8 = 35u8
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> Freeze for SMBiosManagementDeviceComponent<'a>
impl<'a> RefUnwindSafe for SMBiosManagementDeviceComponent<'a>
impl<'a> Send for SMBiosManagementDeviceComponent<'a>
impl<'a> Sync for SMBiosManagementDeviceComponent<'a>
impl<'a> Unpin for SMBiosManagementDeviceComponent<'a>
impl<'a> UnwindSafe for SMBiosManagementDeviceComponent<'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