UemInternalError

Enum UemInternalError 

Source
#[repr(u8)]
pub enum UemInternalError {
Show 79 variants NoTag = 255, Crc = 254, WrongKey = 252, Parity = 251, ResultCode = 250, Protocol = 249, SerialNumber = 248, LoadKey = 247, NotAuthenticated = 246, BitCount = 245, ByteCount = 244, WriteData = 241, Increment = 240, Decrement = 239, ReadData = 238, Overflow = 237, Framing = 235, UnknownOperation = 233, Collision = 232, Reset = 231, Interface = 230, NoBitwiseAnticoll = 228, Coding = 225, HardwareAbsent = 216, UnknownCommand = 215, CommandNotSupported = 214, WrongMfrcMode = 213, WrongCryptoMode = 212, FlashEraseRequired = 211, FlashKeyAbsent = 210, Transceive = 209, IcodeStackOverflow = 208, HaltB = 207, FlashOperating = 206, InternalCall = 205, CascadeLevel10 = 204, BaudrateNotSupported = 202, SamTimeout = 201, SamApdu = 200, SamCardMac = 199, SamAuthentication = 198, SamByteCount = 197, ParameterValue = 196, MifareClassicNacF = 191, MifareClassicNacE = 190, MifareClassicNacD = 189, MifareClassicNacC = 188, MifareClassicNacB = 187, MifareClassicNacA = 186, MifareClassicNac9 = 185, MifareClassicNac8 = 184, MifareClassicNac7 = 183, MifareClassicNac6 = 182, MifareClassicNac5 = 181, MifareClassicNac4 = 180, MifareClassicNac3 = 179, MifareClassicNac2 = 178, MifareClassicNac1 = 177, MifareClassicNac0 = 176, MifarePlusGeneralManipulate = 175, MifarePlusCardMac = 174, MifarePlusEv1NotSupported = 173, MifarePlusLength = 172, MifarePlusNoStateForCommand = 171, MifarePlusNotExistingBlock = 170, MifarePlusBlockNumber = 169, MifarePlusMac = 168, MifarePlusCommandOverflow = 167, MifarePlusAuthentication = 166, MifarePlusEv1Tmac = 165, NotYetImplemented = 156, Crc16 = 155, ReceiveBufferOverflow = 144, InternalReaderLibrary = 133, ValueBlockFormat = 132, UnsupportedParameter = 131, IncompleteChaining = 130, Temperature = 129, Unknown = 128,
}
Expand description

Error codes returned by a reader

Variants§

§

NoTag = 255

No RFID card found in vicinity

§

Crc = 254

CRC radio transaction check failed

§

WrongKey = 252

Failed to perform operation with supplied key

§

Parity = 251

Parity bit transaction check failed

§

ResultCode = 250

Received an error result code from a card

§

Protocol = 249

Wrong protocol selected for this command

§

SerialNumber = 248

Unknown serial number of a device

§

LoadKey = 247

Failed to load key into flash memory

§

NotAuthenticated = 246

The card is not in a valid authentication state

§

BitCount = 245

Incorrect bits count during transation

§

ByteCount = 244

Incorrect byte count during transation

§

WriteData = 241

Failed to write data block on a card

§

Increment = 240

Failed to increment card counter

§

Decrement = 239

Failed to decrement card counter

§

ReadData = 238

Failed to read card data block

§

Overflow = 237

Internal radio exchange buffer overflow

§

Framing = 235

Reader-card transaction frame is malformed

§

UnknownOperation = 233

The requested operation is not implemented is a card

§

Collision = 232

Collision detected during card activation

§

Reset = 231

§

Interface = 230

§

NoBitwiseAnticoll = 228

Bitwise avticollision is not supported by a card

§

Coding = 225

Error with coding of bytes in transaction

§

HardwareAbsent = 216

The required hardware is absent in a reader

§

UnknownCommand = 215

The requested command is not implemented in a reader

§

CommandNotSupported = 214

The requested command is not supported by a reader

§

WrongMfrcMode = 213

The radio chip is in wrong mode. Check that you selected right mode: ISO14443A/B or ISO15693

§

WrongCryptoMode = 212

Both reader and host should be in plain, authenticated and/or encrypted transaction modes

§

FlashEraseRequired = 211

Please erase reader flash memory before writing new data in it

§

FlashKeyAbsent = 210

The required key is absent in a flash memory

§

Transceive = 209

Failed to transceive data with a card

§

IcodeStackOverflow = 208

Stack overflow for ISO 15693 card

§

HaltB = 207

Failed to perform Halt operation with ISO 14443B card

§

FlashOperating = 206

Flash reader memory is in use

§

InternalCall = 205

Some internal call within reader is failed

§

CascadeLevel10 = 204

Error while performing cascade level 3 activation with a card

§

BaudrateNotSupported = 202

The requested card speed is not supported

§

SamTimeout = 201

SAM module has timed out to respond

§

SamApdu = 200

There was an error with SAM APDU response

§

SamCardMac = 199

Wrong RFID card MAC response while interacting with SAM module

§

SamAuthentication = 198

Failed to authenticate with SAM module

§

SamByteCount = 197

Incorrect bytes count sent/received from SAM module

§

ParameterValue = 196

Incorrect command parameter value

§

MifareClassicNacF = 191

Series of error responses for Mifare Classic card type

§

MifareClassicNacE = 190

§

MifareClassicNacD = 189

§

MifareClassicNacC = 188

§

MifareClassicNacB = 187

§

MifareClassicNacA = 186

§

MifareClassicNac9 = 185

§

MifareClassicNac8 = 184

§

MifareClassicNac7 = 183

§

MifareClassicNac6 = 182

§

MifareClassicNac5 = 181

§

MifareClassicNac4 = 180

§

MifareClassicNac3 = 179

§

MifareClassicNac2 = 178

§

MifareClassicNac1 = 177

§

MifareClassicNac0 = 176

§

MifarePlusGeneralManipulate = 175

Series of error responses for Mifare Plus type cards

§

MifarePlusCardMac = 174

§

MifarePlusEv1NotSupported = 173

§

MifarePlusLength = 172

§

MifarePlusNoStateForCommand = 171

§

MifarePlusNotExistingBlock = 170

§

MifarePlusBlockNumber = 169

§

MifarePlusMac = 168

§

MifarePlusCommandOverflow = 167

§

MifarePlusAuthentication = 166

§

MifarePlusEv1Tmac = 165

§

NotYetImplemented = 156

The requested feature is not yet implemented

§

Crc16 = 155

CRC16 command/response check failed

§

ReceiveBufferOverflow = 144

The reception buffer on reader radio chip has overflowed

§

InternalReaderLibrary = 133

Error in internal reader library

§

ValueBlockFormat = 132

Incorrect format of a card value block

§

UnsupportedParameter = 131

A command parameter is not supported

§

IncompleteChaining = 130

Commands in a chain are malformed

§

Temperature = 129

Reader is overheating

§

Unknown = 128

Unknown error

Trait Implementations§

Source§

impl Clone for UemInternalError

Source§

fn clone(&self) -> UemInternalError

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UemInternalError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for UemInternalError

Source§

fn eq(&self, other: &UemInternalError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Sequence for UemInternalError

Source§

const CARDINALITY: usize = 79usize

Number of values of type Self. Read more
Source§

fn next(&self) -> Option<Self>

Returns value following *self or None if this was the end. Read more
Source§

fn previous(&self) -> Option<Self>

Returns value preceding *self or None if this was the beginning. Read more
Source§

fn first() -> Option<Self>

Returns the first value of type Self. Read more
Source§

fn last() -> Option<Self>

Returns the last value of type Self. Read more
Source§

impl Copy for UemInternalError

Source§

impl StructuralPartialEq for UemInternalError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V