Struct smbioslib::SMBiosVoltageProbe
source · [−]pub struct SMBiosVoltageProbe<'a> { /* private fields */ }
Expand description
Voltage Probe (Type 26)
This describes the attributes for a voltage probe in the system. Each structure describes a single voltage probe.
NOTE This structure type was added in version 2.2 of this specification.
Implementations
sourceimpl<'a> SMBiosVoltageProbe<'a>
impl<'a> SMBiosVoltageProbe<'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<VoltageProbeLocationAndStatus>
pub fn location_and_status(&self) -> Option<VoltageProbeLocationAndStatus>
Location and status bit-field
Probe’s physical location and status of the voltage monitored by this voltage probe
sourcepub fn maximum_value(&self) -> Option<ProbeVoltage>
pub fn maximum_value(&self) -> Option<ProbeVoltage>
Maximum value
Maximum voltage level readable by this probe, in millivolts
sourcepub fn minimum_value(&self) -> Option<ProbeVoltage>
pub fn minimum_value(&self) -> Option<ProbeVoltage>
Minimum value
Minimum voltage level readable by this probe, in millivolts
sourcepub fn resolution(&self) -> Option<VoltageProbeResolution>
pub fn resolution(&self) -> Option<VoltageProbeResolution>
Resolution
Resolution for the probe’s reading, in tenths of millivolts
sourcepub fn tolerance(&self) -> Option<ProbeVoltage>
pub fn tolerance(&self) -> Option<ProbeVoltage>
Tolerance
Tolerance for reading from this probe, in plus/minus millivolts
sourcepub fn accuracy(&self) -> Option<VoltageProbeAccuracy>
pub fn accuracy(&self) -> Option<VoltageProbeAccuracy>
Accuracy
Accuracy for reading from this probe, in plus/minus 1/100th of a percent
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<ProbeVoltage>
pub fn nominal_value(&self) -> Option<ProbeVoltage>
Nominal value
Nominal value for the probe’s reading in millivolts This field is present in the structure only if the structure’s length is larger than 14h.
Trait Implementations
sourceimpl Debug for SMBiosVoltageProbe<'_>
impl Debug for SMBiosVoltageProbe<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosVoltageProbe<'a>
impl<'a> SMBiosStruct<'a> for SMBiosVoltageProbe<'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 SMBiosVoltageProbe<'_>
impl Serialize for SMBiosVoltageProbe<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosVoltageProbe<'a>
impl<'a> Send for SMBiosVoltageProbe<'a>
impl<'a> Sync for SMBiosVoltageProbe<'a>
impl<'a> Unpin for SMBiosVoltageProbe<'a>
impl<'a> UnwindSafe for SMBiosVoltageProbe<'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