Struct smbioslib::SMBiosElectricalCurrentProbe
source · [−]pub struct SMBiosElectricalCurrentProbe<'a> { /* private fields */ }
Expand description
Electrical Current Probe (Type 29)
This structure describes the attributes for an electrical current probe in the system. Each structure describes a single electrical current probe.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosElectricalCurrentProbe<'a>
impl<'a> SMBiosElectricalCurrentProbe<'a>
sourcepub fn description(&self) -> Option<String>
pub fn description(&self) -> Option<String>
A string that contains additional descriptive information about the probe or its location
sourcepub fn location_and_status(&self) -> Option<CurrentProbeLocationAndStatus>
pub fn location_and_status(&self) -> Option<CurrentProbeLocationAndStatus>
Probe’s physical location and status of the current monitored by this current probe
sourcepub fn maximum_value(&self) -> Option<ProbeAmperage>
pub fn maximum_value(&self) -> Option<ProbeAmperage>
Maximum current level readable by this probe, in milliamps
sourcepub fn minimum_value(&self) -> Option<ProbeAmperage>
pub fn minimum_value(&self) -> Option<ProbeAmperage>
Minimum current level readable by this probe, in milliamps
sourcepub fn resolution(&self) -> Option<CurrentProbeResolution>
pub fn resolution(&self) -> Option<CurrentProbeResolution>
Resolution for the probe’s reading, in tenths of milliamps
sourcepub fn tolerance(&self) -> Option<ProbeAmperage>
pub fn tolerance(&self) -> Option<ProbeAmperage>
Tolerance for reading from this probe, in plus/minus milliamps
sourcepub fn accuracy(&self) -> Option<CurrentProbeAccuracy>
pub fn accuracy(&self) -> Option<CurrentProbeAccuracy>
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- or BIOS vendor-specific information.
sourcepub fn nominal_value(&self) -> Option<ProbeAmperage>
pub fn nominal_value(&self) -> Option<ProbeAmperage>
Nominal value for the probe’s reading in milliamps
Trait Implementations
sourceimpl Debug for SMBiosElectricalCurrentProbe<'_>
impl Debug for SMBiosElectricalCurrentProbe<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosElectricalCurrentProbe<'a>
impl<'a> SMBiosStruct<'a> for SMBiosElectricalCurrentProbe<'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 SMBiosElectricalCurrentProbe<'_>
impl Serialize for SMBiosElectricalCurrentProbe<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosElectricalCurrentProbe<'a>
impl<'a> Send for SMBiosElectricalCurrentProbe<'a>
impl<'a> Sync for SMBiosElectricalCurrentProbe<'a>
impl<'a> Unpin for SMBiosElectricalCurrentProbe<'a>
impl<'a> UnwindSafe for SMBiosElectricalCurrentProbe<'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