[−][src]Trait libmedium::sensors::Input
Trait implemented by all sensors except for pwm. It contains the functionality to read the input subfunctions.
Provided methods
pub fn read_input(&self) -> Result<Self::Value, Error>
[src]
Reads the input subfunction of this sensor. Returns an error, if this sensor doesn't support the subtype.