pub enum LedState {
Green,
Amber(String),
}
Expand description
LED states for an S-class unit.
Variants§
Trait Implementations§
Source§impl TryFrom<nvmlLedState_st> for LedState
impl TryFrom<nvmlLedState_st> for LedState
impl Eq for LedState
impl StructuralPartialEq for LedState
Auto Trait Implementations§
impl Freeze for LedState
impl RefUnwindSafe for LedState
impl Send for LedState
impl Sync for LedState
impl Unpin for LedState
impl UnwindSafe for LedState
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