[][src]Trait libmedium::sensors::Average

pub trait Average: Sensor {
    pub fn read_average(&self) -> Result<Self::Value, Error> { ... }
}

Trait implemented by all sensors that can have an average subfunction.

Provided methods

pub fn read_average(&self) -> Result<Self::Value, Error>[src]

Reads this sensor's average value. Returns an error, if this sensor doesn't support the feature.

Loading content...

Implementors

Loading content...