Struct CardErrorCode
#[repr(transparent)]pub struct CardErrorCode(pub u8);Expand description
Reason a card is not usable (uim_card_error_code_enum_v01).
Tuple Fields§
§0: u8Implementations§
§impl CardErrorCode
impl CardErrorCode
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Value 0.
pub const POWER_DOWN: Self
pub const POWER_DOWN: Self
Value 1.
pub const POLL_ERROR: Self
pub const POLL_ERROR: Self
Value 2.
pub const NO_ATR_RECEIVED: Self
pub const NO_ATR_RECEIVED: Self
Value 3.
pub const VOLT_MISMATCH: Self
pub const VOLT_MISMATCH: Self
Value 4.
pub const PARITY_ERROR: Self
pub const PARITY_ERROR: Self
Value 5.
pub const POSSIBLY_REMOVED: Self
pub const POSSIBLY_REMOVED: Self
Value 6.
pub const SIM_TECHNICAL_PROBLEMS: Self
pub const SIM_TECHNICAL_PROBLEMS: Self
Value 7.
pub const NULL_BYTES: Self
pub const NULL_BYTES: Self
Value 8.
pub const SAP_CONNECTED: Self
pub const SAP_CONNECTED: Self
Value 9.
pub const CMD_TIMEOUT: Self
pub const CMD_TIMEOUT: Self
Value 10.
Trait Implementations§
§impl Clone for CardErrorCode
impl Clone for CardErrorCode
§fn clone(&self) -> CardErrorCode
fn clone(&self) -> CardErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CardErrorCode
§impl Debug for CardErrorCode
impl Debug for CardErrorCode
§impl Decode for CardErrorCode
impl Decode for CardErrorCode
§impl Encode for CardErrorCode
impl Encode for CardErrorCode
impl Eq for CardErrorCode
§impl From<CardErrorCode> for u8
impl From<CardErrorCode> for u8
§fn from(value: CardErrorCode) -> Self
fn from(value: CardErrorCode) -> Self
Converts to this type from the input type.
§impl From<u8> for CardErrorCode
impl From<u8> for CardErrorCode
§impl Hash for CardErrorCode
impl Hash for CardErrorCode
§impl PartialEq for CardErrorCode
impl PartialEq for CardErrorCode
impl StructuralPartialEq for CardErrorCode
Auto Trait Implementations§
impl Freeze for CardErrorCode
impl RefUnwindSafe for CardErrorCode
impl Send for CardErrorCode
impl Sync for CardErrorCode
impl Unpin for CardErrorCode
impl UnsafeUnpin for CardErrorCode
impl UnwindSafe for CardErrorCode
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