[][src]Trait libmedium::sensors::Min

pub trait Min<P: Raw>: SensorBase {
    fn read_min(&self) -> Result<P, Error> { ... }
fn write_min(&self, min: P) -> Result<(), Error>
    where
        Self: WritableSensorBase
, { ... } }

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

Provided methods

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

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

fn write_min(&self, min: P) -> Result<(), Error> where
    Self: WritableSensorBase

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

Loading content...

Implementors

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

impl<S: FanSensor> Min<AngularVelocity> for S[src]

impl<S: TempSensor> Min<Temperature> for S[src]

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

Loading content...