#[repr(u8)]pub enum OPCODE {
Write = 1,
Stop = 2,
Read = 3,
End = 4,
Rstart = 6,
}
Expand description
Opcode part of command %s.
Value on reset: 0
Variants§
Write = 1
1: WRITE opcode
Stop = 2
2: STOP opcode
Read = 3
3: READ opcode
End = 4
4: END opcode
Rstart = 6
6: RSTART opcode
Trait Implementations§
impl Copy for OPCODE
impl Eq for OPCODE
impl IsEnum for OPCODE
impl StructuralPartialEq for OPCODE
Auto Trait Implementations§
impl Freeze for OPCODE
impl RefUnwindSafe for OPCODE
impl Send for OPCODE
impl Sync for OPCODE
impl Unpin for OPCODE
impl UnwindSafe for OPCODE
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