Enum apdu_dispatch::app::Status
source · [−]#[non_exhaustive]
pub enum Status {
Show 22 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
9000
MoreAvailable(u8)
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 Copy for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more