Enum amdgpu_sysfs::hw_mon::FanControlMethod
source · pub enum FanControlMethod {
None,
Manual,
Auto,
}Expand description
The way the fan speed is controlled.
Variants§
None
No fan speed control.
Manual
Manual fan speed control via the PWM interface.
Auto
Automatic fan speed control (by the kernel).
Implementations§
source§impl FanControlMethod
impl FanControlMethod
sourcepub fn from_repr(repr: u32) -> Option<Self>
pub fn from_repr(repr: u32) -> Option<Self>
Create FanControlMethod from a digit in the SysFS.
Trait Implementations§
source§impl Clone for FanControlMethod
impl Clone for FanControlMethod
source§fn clone(&self) -> FanControlMethod
fn clone(&self) -> FanControlMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more