Enum iso7816::response::status::Status[][src]

#[non_exhaustive]
pub enum Status {
Show variants Success, MoreAvailable(u8), VerificationFailed, RemainingRetries(u8), UnspecifiedNonpersistentExecutionError, UnspecifiedPersistentExecutionError, WrongLength, LogicalChannelNotSupported, SecureMessagingNotSupported, CommandChainingNotSupported, SecurityStatusNotSatisfied, ConditionsOfUseNotSatisfied, OperationBlocked, IncorrectDataParameter, FunctionNotSupported, NotFound, NotEnoughMemory, IncorrectP1OrP2Parameter, KeyReferenceNotFound, InstructionNotSupportedOrInvalid, ClassNotSupported, UnspecifiedCheckingError,
}

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Expand description

9000

MoreAvailable(u8)
Expand description

61XX

VerificationFailed
RemainingRetries(u8)
UnspecifiedNonpersistentExecutionError
UnspecifiedPersistentExecutionError
WrongLength
LogicalChannelNotSupported
SecureMessagingNotSupported
CommandChainingNotSupported
SecurityStatusNotSatisfied
ConditionsOfUseNotSatisfied
OperationBlocked
IncorrectDataParameter
FunctionNotSupported
NotFound
NotEnoughMemory
IncorrectP1OrP2Parameter
KeyReferenceNotFound
InstructionNotSupportedOrInvalid
ClassNotSupported
UnspecifiedCheckingError

Trait Implementations

impl Clone for Status[src]

fn clone(&self) -> Status[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Status[src]

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

Formats the value using the given formatter. Read more

impl Default for Status[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl Into<[u8; 2]> for Status[src]

fn into(self) -> [u8; 2][src]

Performs the conversion.

impl<S> Into<Bytes<S>> for Status where
    S: ArrayLength<u8>, 
[src]

fn into(self) -> Bytes<S>[src]

Performs the conversion.

impl Into<u16> for Status[src]

fn into(self) -> u16[src]

Performs the conversion.

impl PartialEq<Status> for Status[src]

fn eq(&self, other: &Status) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Status) -> bool[src]

This method tests for !=.

impl TryFrom<(u8, u8)> for Status[src]

type Error = u16

The type returned in the event of a conversion error.

fn try_from(sw: (u8, u8)) -> Result<Self, Self::Error>[src]

Performs the conversion.

impl Copy for Status[src]

impl Eq for Status[src]

impl StructuralEq for Status[src]

impl StructuralPartialEq for Status[src]

Auto Trait Implementations

impl Send for Status

impl Sync for Status

impl Unpin for Status

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.