Struct smbioslib::SMBiosCoolingDevice
source · [−]pub struct SMBiosCoolingDevice<'a> { /* private fields */ }
Expand description
Cooling Device (Type 27)
This structure describes the attributes for a cooling device in the system. Each structure describes a single cooling device.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosCoolingDevice<'a>
impl<'a> SMBiosCoolingDevice<'a>
sourcepub fn temperature_probe_handle(&self) -> Option<Handle>
pub fn temperature_probe_handle(&self) -> Option<Handle>
Handle, or instance number, of the temperature probe monitoring this cooling device. A value of 0xFFFF indicates that no probe is provided.
sourcepub fn device_type_and_status(&self) -> Option<CoolingDeviceTypeAndStatus>
pub fn device_type_and_status(&self) -> Option<CoolingDeviceTypeAndStatus>
Cooling device type and status.
sourcepub fn cooling_unit_group(&self) -> Option<u8>
pub fn cooling_unit_group(&self) -> Option<u8>
Cooling unit group to which this cooling device is associated Having multiple cooling devices in the same cooling unit implies a redundant configuration. The value is 00h if the cooling device is not a member of a redundant cooling unit. Non-zero values imply redundancy and that at least one other cooling device will be enumerated with the same value
sourcepub fn oem_defined(&self) -> Option<u32>
pub fn oem_defined(&self) -> Option<u32>
OEM or BIOS vendor-specific information.
sourcepub fn nominal_speed(&self) -> Option<RotationalSpeed>
pub fn nominal_speed(&self) -> Option<RotationalSpeed>
Nominal value for the cooling device’s rotational speed, in revolutions-per-minute (rpm) If the value is unknown or the cooling device is non-rotating, the field is set to 0x8000. This field is present in the structure only if the structure’s length is larger than 0Ch
sourcepub fn description(&self) -> Option<String>
pub fn description(&self) -> Option<String>
Additional descriptive information about the cooling device or its location This field is present in the structure only if the structure’s length is 0Fh or larger.
Trait Implementations
sourceimpl Debug for SMBiosCoolingDevice<'_>
impl Debug for SMBiosCoolingDevice<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosCoolingDevice<'a>
impl<'a> SMBiosStruct<'a> for SMBiosCoolingDevice<'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 SMBiosCoolingDevice<'_>
impl Serialize for SMBiosCoolingDevice<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosCoolingDevice<'a>
impl<'a> Send for SMBiosCoolingDevice<'a>
impl<'a> Sync for SMBiosCoolingDevice<'a>
impl<'a> Unpin for SMBiosCoolingDevice<'a>
impl<'a> UnwindSafe for SMBiosCoolingDevice<'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