#[repr(u8)]pub enum FanConnection {
NotConnected = 0,
ThreePin = 1,
FourPin = 2,
Virtual = 3,
}Expand description
Connection type for a fan.
Variants§
NotConnected = 0
No physical connection detected.
ThreePin = 1
3-pin fan connection without PWM control.
FourPin = 2
Standard Intel 4-pin fan connection with PWM control.
Virtual = 3
Virtual fan with no physical connection.
Trait Implementations§
Source§impl Clone for FanConnection
impl Clone for FanConnection
Source§fn clone(&self) -> FanConnection
fn clone(&self) -> FanConnection
Returns a duplicate 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 moreSource§impl Debug for FanConnection
impl Debug for FanConnection
Source§impl Default for FanConnection
impl Default for FanConnection
Source§fn default() -> FanConnection
fn default() -> FanConnection
Returns the “default value” for a type. Read more
Source§impl PartialEq for FanConnection
impl PartialEq for FanConnection
Source§impl TryFrom<u8> for FanConnection
impl TryFrom<u8> for FanConnection
impl Copy for FanConnection
impl Eq for FanConnection
impl StructuralPartialEq for FanConnection
Auto Trait Implementations§
impl Freeze for FanConnection
impl RefUnwindSafe for FanConnection
impl Send for FanConnection
impl Sync for FanConnection
impl Unpin for FanConnection
impl UnwindSafe for FanConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more