Struct furiosa_device::hwmon::Fetcher
source · pub struct Fetcher { /* private fields */ }
Implementations§
source§impl Fetcher
impl Fetcher
pub fn read_currents_blocking(&self) -> DeviceResult<Vec<SensorValue>>
pub fn read_voltages_blocking(&self) -> DeviceResult<Vec<SensorValue>>
pub fn read_powers_average_blocking(&self) -> DeviceResult<Vec<SensorValue>>
pub fn read_temperatures_blocking(&self) -> DeviceResult<Vec<SensorValue>>
pub async fn read_currents(&self) -> DeviceResult<Vec<SensorValue>>
pub async fn read_voltages(&self) -> DeviceResult<Vec<SensorValue>>
pub async fn read_powers_average(&self) -> DeviceResult<Vec<SensorValue>>
pub async fn read_temperatures(&self) -> DeviceResult<Vec<SensorValue>>
Trait Implementations§
source§impl PartialEq<Fetcher> for Fetcher
impl PartialEq<Fetcher> for Fetcher
impl Eq for Fetcher
impl StructuralEq for Fetcher
impl StructuralPartialEq for Fetcher
Auto Trait Implementations§
impl RefUnwindSafe for Fetcher
impl Send for Fetcher
impl Sync for Fetcher
impl Unpin for Fetcher
impl UnwindSafe for Fetcher
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