[−][src]Struct libmedium::sensors::ReadOnlyFan
Struct that represents a read only fan sensor.
Trait Implementations
impl Clone for ReadOnlyFan
[src]
fn clone(&self) -> ReadOnlyFan
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReadOnlyFan
[src]
impl FanSensor for ReadOnlyFan
[src]
fn read_target(&self) -> Result<AngularVelocity, Error>
[src]
fn read_div(&self) -> Result<FanDivisor, Error>
[src]
fn write_target(&self, target: AngularVelocity) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_div(&self, div: FanDivisor) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl Faulty for ReadOnlyFan
[src]
fn read_faulty(&self) -> Result<bool, Error>
[src]
impl From<ReadWriteFan> for ReadOnlyFan
[src]
fn from(write_fan: ReadWriteFan) -> ReadOnlyFan
[src]
impl SensorBase for ReadOnlyFan
[src]
fn base(&self) -> &'static str
[src]
fn index(&self) -> u16
[src]
fn hwmon_path(&self) -> &Path
[src]
fn supported_read_sub_functions(&self) -> Vec<SensorSubFunctionType>
[src]
fn name(&self) -> String
[src]
fn read_raw(&self, sub_type: SensorSubFunctionType) -> Result<String, Error>
[src]
fn subfunction_path(&self, sub_type: SensorSubFunctionType) -> PathBuf
[src]
impl TryFrom<ReadOnlyFan> for ReadWriteFan
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadOnlyFan
impl Send for ReadOnlyFan
impl Sync for ReadOnlyFan
impl Unpin for ReadOnlyFan
impl UnwindSafe for ReadOnlyFan
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<S> Max<AngularVelocity> for S where
S: FanSensor,
[src]
S: FanSensor,
fn read_max(&self) -> Result<P, Error>
[src]
fn write_max(&self, max: P) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl<S> Min<AngularVelocity> for S where
S: FanSensor,
[src]
S: FanSensor,
fn read_min(&self) -> Result<P, Error>
[src]
fn write_min(&self, min: P) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl<S> Sensor<AngularVelocity> for S where
S: FanSensor + Faulty,
[src]
S: FanSensor + Faulty,
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.
fn read_enable(&self) -> Result<bool, Error>
[src]
fn write_enable(&self, enable: bool) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,