pub struct UnknownOpcode {
pub(crate) byte: u8,
}Expand description
Returned when a byte cannot be mapped to a known CommandOpcode.
Fields§
§byte: u8The raw byte that was not recognized.
Trait Implementations§
Source§impl Clone for UnknownOpcode
impl Clone for UnknownOpcode
Source§fn clone(&self) -> UnknownOpcode
fn clone(&self) -> UnknownOpcode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnknownOpcode
impl Debug for UnknownOpcode
Source§impl PartialEq for UnknownOpcode
impl PartialEq for UnknownOpcode
impl Copy for UnknownOpcode
impl Eq for UnknownOpcode
impl StructuralPartialEq for UnknownOpcode
Auto Trait Implementations§
impl Freeze for UnknownOpcode
impl RefUnwindSafe for UnknownOpcode
impl Send for UnknownOpcode
impl Sync for UnknownOpcode
impl Unpin for UnknownOpcode
impl UnsafeUnpin for UnknownOpcode
impl UnwindSafe for UnknownOpcode
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