[−][src]Struct libmedium::sensors::ReadOnlyTemp
Struct that represents a read only temp sensor.
Trait Implementations
impl Clone for ReadOnlyTemp
[src]
fn clone(&self) -> ReadOnlyTemp
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReadOnlyTemp
[src]
impl Faulty for ReadOnlyTemp
[src]
fn read_faulty(&self) -> Result<bool, Error>
[src]
impl From<ReadWriteTemp> for ReadOnlyTemp
[src]
fn from(write_temp: ReadWriteTemp) -> ReadOnlyTemp
[src]
impl SensorBase for ReadOnlyTemp
[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 TempSensor for ReadOnlyTemp
[src]
fn read_type(&self) -> Result<TempType, Error>
[src]
fn read_offset(&self) -> Result<Temperature, Error>
[src]
fn read_max_hyst(&self) -> Result<Temperature, Error>
[src]
fn read_min_hyst(&self) -> Result<Temperature, Error>
[src]
fn read_crit_hyst(&self) -> Result<Temperature, Error>
[src]
fn read_emergency(&self) -> Result<Temperature, Error>
[src]
fn read_emergency_hyst(&self) -> Result<Temperature, Error>
[src]
fn read_lcrit_hyst(&self) -> Result<Temperature, Error>
[src]
fn write_offset(&self, offset: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_max_hyst(&self, max_hyst: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_min_hyst(&self, min_hyst: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_crit_hyst(&self, crit_hyst: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_emergency(&self, emergency: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_emergency_hyst(&self, emergency_hyst: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
fn write_lcrit_hyst(&self, lcrit_hyst: Temperature) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl TryFrom<ReadOnlyTemp> for ReadWriteTemp
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadOnlyTemp
impl Send for ReadOnlyTemp
impl Sync for ReadOnlyTemp
impl Unpin for ReadOnlyTemp
impl UnwindSafe for ReadOnlyTemp
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<S> Crit<Temperature> for S where
S: TempSensor,
[src]
S: TempSensor,
fn read_crit(&self) -> Result<P, Error>
[src]
fn write_crit(&self, crit: P) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<S> LowCrit<Temperature> for S where
S: TempSensor,
[src]
S: TempSensor,
fn read_lcrit(&self) -> Result<P, Error>
[src]
fn write_lcrit(&self, lcrit: P) -> Result<(), Error> where
Self: WritableSensorBase,
[src]
Self: WritableSensorBase,
impl<S> Max<Temperature> for S where
S: TempSensor,
[src]
S: TempSensor,
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<Temperature> for S where
S: TempSensor,
[src]
S: TempSensor,
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<Temperature> for S where
S: TempSensor + Faulty,
[src]
S: TempSensor + Faulty,
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.
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>,