[−][src]Struct libmedium::hwmon::ReadWriteHwmon
The read/write variant of Hwmon. It contains all sensors found whithin its directory path.
Trait Implementations
impl Clone for ReadWriteHwmon
[src]
fn clone(&self) -> ReadWriteHwmon
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReadWriteHwmon
[src]
impl From<ReadWriteHwmon> for ReadOnlyHwmon
[src]
fn from(read_write: ReadWriteHwmon) -> Self
[src]
impl Hwmon for ReadWriteHwmon
[src]
type Current = ReadWriteCurr
The type of current sensor this Hwmon
supports.
type Energy = ReadWriteEnergy
The type of energy sensor this Hwmon
supports.
type Fan = ReadWriteFan
The type of fan sensor this Hwmon
supports.
type Humidity = ReadWriteHumidity
The type of humidity sensor this Hwmon
supports.
type Power = ReadWritePower
The type of power sensor this Hwmon
supports.
type Pwm = ReadWritePwm
The type of pwm sensor this Hwmon
supports.
type Temp = ReadWriteTemp
The type of temp sensor this Hwmon
supports.
type Voltage = ReadWriteVolt
The type of voltage sensor this Hwmon
supports.
fn name(&self) -> &str
[src]
fn path(&self) -> &Path
[src]
fn currents(&self) -> &BTreeMap<u16, Self::Current>
[src]
fn energies(&self) -> &BTreeMap<u16, Self::Energy>
[src]
fn fans(&self) -> &BTreeMap<u16, Self::Fan>
[src]
fn humidities(&self) -> &BTreeMap<u16, Self::Humidity>
[src]
fn powers(&self) -> &BTreeMap<u16, Self::Power>
[src]
fn pwms(&self) -> &BTreeMap<u16, Self::Pwm>
[src]
fn temps(&self) -> &BTreeMap<u16, Self::Temp>
[src]
fn voltages(&self) -> &BTreeMap<u16, Self::Voltage>
[src]
fn device_path(&self) -> PathBuf
[src]
fn current(&self, index: u16) -> Option<&Self::Current>
[src]
fn energy(&self, index: u16) -> Option<&Self::Energy>
[src]
fn fan(&self, index: u16) -> Option<&Self::Fan>
[src]
fn humidity(&self, index: u16) -> Option<&Self::Humidity>
[src]
fn power(&self, index: u16) -> Option<&Self::Power>
[src]
fn pwm(&self, index: u16) -> Option<&Self::Pwm>
[src]
fn temp(&self, index: u16) -> Option<&Self::Temp>
[src]
fn voltage(&self, index: u16) -> Option<&Self::Voltage>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadWriteHwmon
impl Send for ReadWriteHwmon
impl Sync for ReadWriteHwmon
impl Unpin for ReadWriteHwmon
impl UnwindSafe for ReadWriteHwmon
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<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>,