Enum yubico::yubicoerror::YubicoError[][src]

pub enum YubicoError {
    Network(Error),
    HTTPStatusCode(StatusCode),
    IOError(ioError),
    ChannelError(channelError),
    DecodeError(base64Error),
    UsbError(usbError),
    CommandNotSupported,
    DeviceNotFound,
    OpenDeviceError,
    CanNotWriteToDevice,
    WrongCRC,
    ConfigNotWritten,
    BadOTP,
    ReplayedOTP,
    BadSignature,
    MissingParameter,
    NoSuchClient,
    OperationNotAllowed,
    BackendError,
    NotEnoughAnswers,
    ReplayedRequest,
    UnknownStatus,
    OTPMismatch,
    NonceMismatch,
    SignatureMismatch,
}

Variants

Trait Implementations

impl Debug for YubicoError
[src]

Formats the value using the given formatter. Read more

impl Display for YubicoError
[src]

Formats the value using the given formatter. Read more

impl Error for YubicoError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for YubicoError
[src]

Performs the conversion.

impl From<StatusCode> for YubicoError
[src]

Performs the conversion.

impl From<ioError> for YubicoError
[src]

Performs the conversion.

impl From<channelError> for YubicoError
[src]

Performs the conversion.

impl From<base64Error> for YubicoError
[src]

Performs the conversion.

impl From<usbError> for YubicoError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for YubicoError

impl Sync for YubicoError