[][src]Struct libmedium::sensors::ReadWriteFan

pub struct ReadWriteFan { /* fields omitted */ }

Struct that represents a read/write fan sensor.

Trait Implementations

impl Clone for ReadWriteFan[src]

impl Debug for ReadWriteFan[src]

impl FanSensor for ReadWriteFan[src]

impl Faulty for ReadWriteFan[src]

impl From<ReadWriteFan> for ReadOnlyFan[src]

impl SensorBase for ReadWriteFan[src]

impl TryFrom<ReadOnlyFan> for ReadWriteFan[src]

type Error = Error

The type returned in the event of a conversion error.

impl WritableSensorBase for ReadWriteFan[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<T> From<T> for T[src]

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

impl<S> Max<AngularVelocity> for S where
    S: FanSensor
[src]

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

impl<S> Sensor<AngularVelocity> for S where
    S: FanSensor + Faulty
[src]

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

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

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.