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

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

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

Provided methods

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

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

fn write_min(&self, min: P) -> Result<(), SensorError> 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<Revs> for S[src]

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

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

Loading content...