Struct smbioslib::SMBiosTemperatureProbe
source · [−]pub struct SMBiosTemperatureProbe<'a> { /* private fields */ }
Expand description
Temperature Probe (Type 28)
This structure describes the attributes for a temperature probe in the system. Each structure describes a single temperature probe.
NOTE This structure type was added in version 2.2 of this specification.
Implementations
sourceimpl<'a> SMBiosTemperatureProbe<'a>
impl<'a> SMBiosTemperatureProbe<'a>
sourcepub fn description(&self) -> Option<String>
pub fn description(&self) -> Option<String>
Description
additional descriptive information about the probe or its location
sourcepub fn location_and_status(&self) -> Option<TemperatureProbeLocationAndStatus>
pub fn location_and_status(&self) -> Option<TemperatureProbeLocationAndStatus>
Location and status
Probe’s physical location and the status of the temperature monitored by this temperature probe
sourcepub fn maximum_value(&self) -> Option<ProbeTemperature>
pub fn maximum_value(&self) -> Option<ProbeTemperature>
Maximum value
Maximum temperature readable by this probe, in 1/10th degrees C
If the value is unknown, the field is set to 0x8000.
sourcepub fn minimum_value(&self) -> Option<ProbeTemperature>
pub fn minimum_value(&self) -> Option<ProbeTemperature>
Minimum value
Minimum temperature readable by this probe, in 1/10th degrees C
If the value is unknown, the field is set to 0x8000.
sourcepub fn resolution(&self) -> Option<TemperatureProbeResolution>
pub fn resolution(&self) -> Option<TemperatureProbeResolution>
Resolution
Resolution for the probe’s reading, in 1/1000th degrees C
If the value is unknown, the field is set to 0x8000.
sourcepub fn tolerance(&self) -> Option<ProbeTemperature>
pub fn tolerance(&self) -> Option<ProbeTemperature>
Tolerance
Tolerance for reading from this probe, in plus/minus 1/10th degrees C
If the value is unknown, the field is set to 0x8000.
sourcepub fn accuracy(&self) -> Option<TemperatureProbeAccuracy>
pub fn accuracy(&self) -> Option<TemperatureProbeAccuracy>
Accuracy
Accuracy for reading from this probe, in plus/minus 1/100th of a percent
If the value is unknown, the field is set to 0x8000.
sourcepub fn oem_defined(&self) -> Option<u32>
pub fn oem_defined(&self) -> Option<u32>
OEM defined
OEM- or BIOS vendor-specific information
sourcepub fn nominal_value(&self) -> Option<ProbeTemperature>
pub fn nominal_value(&self) -> Option<ProbeTemperature>
Nominal value for the probe’s reading in 1/10th degrees C
If the value is unknown, the field is set to 0x8000. This field is present in the structure only if the structure’s Length is larger than 14h.
Trait Implementations
sourceimpl Debug for SMBiosTemperatureProbe<'_>
impl Debug for SMBiosTemperatureProbe<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosTemperatureProbe<'a>
impl<'a> SMBiosStruct<'a> for SMBiosTemperatureProbe<'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 SMBiosTemperatureProbe<'_>
impl Serialize for SMBiosTemperatureProbe<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosTemperatureProbe<'a>
impl<'a> Send for SMBiosTemperatureProbe<'a>
impl<'a> Sync for SMBiosTemperatureProbe<'a>
impl<'a> Unpin for SMBiosTemperatureProbe<'a>
impl<'a> UnwindSafe for SMBiosTemperatureProbe<'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