pub enum InterruptState {
Idle = 0,
Working = 1,
Interrupted = 2,
}
Variants§
Trait Implementations§
Source§impl Debug for InterruptState
impl Debug for InterruptState
Source§impl Default for InterruptState
impl Default for InterruptState
Source§fn default() -> InterruptState
fn default() -> InterruptState
Returns the “default value” for a type. Read more
Source§impl From<InterruptState> for u8
impl From<InterruptState> for u8
Source§fn from(value: InterruptState) -> Self
fn from(value: InterruptState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InterruptState
impl PartialEq for InterruptState
Source§impl TryFrom<u8> for InterruptState
impl TryFrom<u8> for InterruptState
impl Eq for InterruptState
impl StructuralPartialEq for InterruptState
Auto Trait Implementations§
impl Freeze for InterruptState
impl RefUnwindSafe for InterruptState
impl Send for InterruptState
impl Sync for InterruptState
impl Unpin for InterruptState
impl UnwindSafe for InterruptState
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