[][src]Enum yubirs::piv::scarderr::SmartCardError

pub enum SmartCardError {
    BadSeek,
    BrokenPipe,
    CacheItemNotFound,
    CacheItemStale,
    CacheItemTooBig,
    Cancelled,
    CancelledByUser,
    CantDispose,
    CardNotAuthenticated,
    CardUnsupported,
    CertificateUnavailable,
    ChvBlocked,
    CommDataLost,
    CommError,
    DirNotFound,
    DuplicateReader,
    Eof,
    FileNotFound,
    IccCreateOrder,
    IccInstallation,
    InsufficientBuffer,
    InternalError,
    InvalidAtr,
    InvalidChv,
    InvalidHandle,
    InvalidParameter,
    InvalidTarget,
    InvalidValue,
    NoAccess,
    NoDir,
    NoFile,
    NoKeyContainer,
    NoMemory,
    NoPinCache,
    NoReadersAvailable,
    NoService,
    NoSmartCard,
    NoSuchCertificate,
    NotReady,
    NotTransacted,
    Other(String),
    PciTooSmall,
    PinCacheExpired,
    ProtoMismatch,
    ReaderUnavailable,
    ReaderUnsupported,
    ReadOnlyCard,
    RemovedCard,
    ResetCard,
    SecurityViolation,
    ServerTooBusy,
    ServiceStopped,
    SharingViolation,
    Shutdown,
    SystemCancelled,
    Timeout,
    Unexpected,
    UnknownCard,
    UnknownError,
    UnknownReader,
    UnknownResMng,
    UnpoweredCard,
    UnresponsiveCard,
    UnsupportedCard,
    UnsupportedFeature,
    WaitedTooLong,
    WriteTooMany,
    WrongChv,
}

Variants

BadSeek
BrokenPipe
CacheItemNotFound
CacheItemStale
CacheItemTooBig
Cancelled
CancelledByUser
CantDispose
CardNotAuthenticated
CardUnsupported
CertificateUnavailable
ChvBlocked
CommDataLost
CommError
DirNotFound
DuplicateReader
Eof
FileNotFound
IccCreateOrder
IccInstallation
InsufficientBuffer
InternalError
InvalidAtr
InvalidChv
InvalidHandle
InvalidParameter
InvalidTarget
InvalidValue
NoAccess
NoDir
NoFile
NoKeyContainer
NoMemory
NoPinCache
NoReadersAvailable
NoService
NoSmartCard
NoSuchCertificate
NotReady
NotTransacted
Other(String)
PciTooSmall
PinCacheExpired
ProtoMismatch
ReaderUnavailable
ReaderUnsupported
ReadOnlyCard
RemovedCard
ResetCard
SecurityViolation
ServerTooBusy
ServiceStopped
SharingViolation
Shutdown
SystemCancelled
Timeout
Unexpected
UnknownCard
UnknownError
UnknownReader
UnknownResMng
UnpoweredCard
UnresponsiveCard
UnsupportedCard
UnsupportedFeature
WaitedTooLong
WriteTooMany
WrongChv

Methods

impl SmartCardError[src]

pub fn new(code: LONG) -> Result<(), SmartCardError>[src]

pub fn new_other(s: &str) -> Self[src]

pub fn get_code(&self) -> LONG[src]

Trait Implementations

impl Clone for SmartCardError[src]

impl Debug for SmartCardError[src]

impl Display for SmartCardError[src]

impl Eq for SmartCardError[src]

impl Error for SmartCardError[src]

impl From<SmartCardError> for Error[src]

impl Hash for SmartCardError[src]

impl Ord for SmartCardError[src]

impl PartialEq<SmartCardError> for SmartCardError[src]

impl PartialOrd<SmartCardError> for SmartCardError[src]

impl StructuralEq for SmartCardError[src]

impl StructuralPartialEq for SmartCardError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

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.

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