#[repr(u8)]pub enum NakErrorCode {
NoError = 0,
BadCrcOrChecksum = 1,
CommandLengthError = 2,
UnknownCommandCode = 3,
UnexpectedSequenceNumber = 4,
SecurityBlockTypeNotSupported = 5,
EncryptedCommunicationRequired = 6,
BioTypeNotSupported = 7,
BioFormatNotSupported = 8,
UnableToProcessCommandRecord = 9,
}Expand description
NAK error code (Table 47).
Variants§
NoError = 0
BadCrcOrChecksum = 1
CommandLengthError = 2
UnknownCommandCode = 3
UnexpectedSequenceNumber = 4
SecurityBlockTypeNotSupported = 5
EncryptedCommunicationRequired = 6
BioTypeNotSupported = 7
BioFormatNotSupported = 8
UnableToProcessCommandRecord = 9
Implementations§
Trait Implementations§
Source§impl Clone for NakErrorCode
impl Clone for NakErrorCode
Source§fn clone(&self) -> NakErrorCode
fn clone(&self) -> NakErrorCode
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 NakErrorCode
impl Debug for NakErrorCode
Source§impl Hash for NakErrorCode
impl Hash for NakErrorCode
Source§impl PartialEq for NakErrorCode
impl PartialEq for NakErrorCode
impl Copy for NakErrorCode
impl Eq for NakErrorCode
impl StructuralPartialEq for NakErrorCode
Auto Trait Implementations§
impl Freeze for NakErrorCode
impl RefUnwindSafe for NakErrorCode
impl Send for NakErrorCode
impl Sync for NakErrorCode
impl Unpin for NakErrorCode
impl UnsafeUnpin for NakErrorCode
impl UnwindSafe for NakErrorCode
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