pub struct Opcode(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl Opcode
impl Opcode
pub const P_CONTROL_HARD_RESET_CLIENT_V1: Opcode
pub const P_CONTROL_HARD_RESET_SERVER_V1: Opcode
pub const P_CONTROL_SOFT_RESET_V1: Opcode
pub const P_CONTROL_V1: Opcode
pub const P_ACK_V1: Opcode
pub const P_DATA_V1: Opcode
pub const P_CONTROL_HARD_RESET_CLIENT_V2: Opcode
pub const P_CONTROL_HARD_RESET_SERVER_V2: Opcode
pub const P_DATA_V2: Opcode
Trait Implementations§
impl Copy for Opcode
impl Eq 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