#[repr(u8)]pub enum NakCode {
Unknown = 0,
SecondaryFailure = 1,
BadCrc = 2,
OutOfBounds = 3,
IncompletePacket = 4,
IndexWriteProtected = 5,
CountExceedsBounds = 6,
}Expand description
Possible NAK codes, see README for more info
Variants§
Unknown = 0
SecondaryFailure = 1
BadCrc = 2
OutOfBounds = 3
IncompletePacket = 4
IndexWriteProtected = 5
CountExceedsBounds = 6
Trait Implementations§
Source§impl PartialOrd for NakCode
impl PartialOrd for NakCode
impl Copy for NakCode
impl StructuralPartialEq for NakCode
Auto Trait Implementations§
impl Freeze for NakCode
impl RefUnwindSafe for NakCode
impl Send for NakCode
impl Sync for NakCode
impl Unpin for NakCode
impl UnwindSafe for NakCode
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