pub enum ResultCode {
Show 32 variants
Success,
RemovedCard,
ResetCard,
UnpoweredCard,
UnresponsiveCard,
UnsupportedCard,
ReaderUnavailable,
SharingViolation,
NotTransacted,
NoSmartcard,
ProtoMismatch,
SystemCancelled,
NotReady,
Cancelled,
InsufficientBuffer,
InvalidHandle,
InvalidParameter,
InvalidValue,
NoMemory,
Timeout,
UnknownReader,
UnsupportedFeature,
NoReadersAvailable,
ServiceStopped,
NoService,
CommError,
InternalError,
ServerTooBusy,
Unexpected,
Shutdown,
UnknownCard,
Unknown,
}Variants§
Success
RemovedCard
ResetCard
UnpoweredCard
UnresponsiveCard
UnsupportedCard
SharingViolation
NotTransacted
NoSmartcard
ProtoMismatch
SystemCancelled
NotReady
Cancelled
InsufficientBuffer
InvalidHandle
InvalidParameter
InvalidValue
NoMemory
Timeout
UnknownReader
UnsupportedFeature
NoReadersAvailable
ServiceStopped
NoService
CommError
InternalError
ServerTooBusy
Unexpected
Shutdown
UnknownCard
Unknown
Trait Implementations§
Source§impl Clone for ResultCode
impl Clone for ResultCode
Source§fn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
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 ResultCode
impl Debug for ResultCode
Source§impl<'de> Deserialize<'de> for ResultCode
impl<'de> Deserialize<'de> for ResultCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
Source§impl Serialize for ResultCode
impl Serialize for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
impl Freeze for ResultCode
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnsafeUnpin for ResultCode
impl UnwindSafe for ResultCode
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