[][src]Struct libmedium::sensors::ReadWriteTemp

pub struct ReadWriteTemp { /* fields omitted */ }

Struct that represents a read/write temp sensor.

Trait Implementations

impl Clone for ReadWriteTemp[src]

impl Debug for ReadWriteTemp[src]

impl Faulty for ReadWriteTemp[src]

impl From<ReadWriteTemp> for ReadOnlyTemp[src]

impl SensorBase for ReadWriteTemp[src]

impl TempSensor for ReadWriteTemp[src]

impl TryFrom<ReadOnlyTemp> for ReadWriteTemp[src]

type Error = Error

The type returned in the event of a conversion error.

impl WritableSensorBase for ReadWriteTemp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<S> Crit<Temperature> for S where
    S: TempSensor
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<S> LowCrit<Temperature> for S where
    S: TempSensor
[src]

impl<S> Max<Temperature> for S where
    S: TempSensor
[src]

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

impl<S> Sensor<Temperature> for S where
    S: TempSensor + Faulty
[src]

fn read_input(&Self) -> Result<Temperature, Error>[src]

Reads the input subfunction of this temp sensor. Returns an error, if this sensor doesn't support the subtype.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.