[−][src]Trait libmedium::sensors::Max
Trait implemented by all sensors that can have a max subfunction.
Provided methods
fn read_max(&self) -> Result<P, Error>
Reads this sensor's max value. Returns an error, if this sensor doesn't support the feature.
fn write_max(&self, max: P) -> Result<(), Error> where
Self: WritableSensorBase,
Self: WritableSensorBase,
Writes this sensor's max value. Returns an error, if this sensor doesn't support the feature.