[][src]Trait libmedium::sensors::Highest

pub trait Highest<P: Raw>: SensorBase {
    fn read_highest(&self) -> Result<P, Error> { ... }
}

Trait implemented by all sensors that can have a highest subfunction.

Provided methods

fn read_highest(&self) -> Result<P, Error>

Reads this sensor's historically highest input. Returns an error, if this sensor doesn't support the feature.

Loading content...

Implementors

impl<S: CurrSensor> Highest<Current> for S[src]

impl<S: PowerSensor> Highest<Power> for S[src]

impl<S: VoltSensor> Highest<Voltage> for S[src]

Loading content...