#[repr(u8)]pub enum State {
RESET = 0,
STARTUP = 1,
IDLERON = 2,
IDLEROFF = 3,
FILLFIFO = 4,
ERROR = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
RESET = 0
Reset
STARTUP = 1
Startup
IDLERON = 2
Idle (Rings On)
IDLEROFF = 3
Idle (Rings Off)
FILLFIFO = 4
Fill FIFO
ERROR = 5
Error
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for State
impl Ord for State
Source§impl PartialOrd for State
impl PartialOrd for State
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)