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
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
Trait Implementations
impl Debug for YubicoError
[src]
impl Debug for YubicoError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for YubicoError
[src]
impl Display for YubicoError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for YubicoError
[src]
impl Error for YubicoError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for YubicoError
[src]
impl From<Error> for YubicoError
fn from(err: Error) -> YubicoError
[src]
fn from(err: Error) -> YubicoError
Performs the conversion.
impl From<StatusCode> for YubicoError
[src]
impl From<StatusCode> for YubicoError
fn from(err: StatusCode) -> YubicoError
[src]
fn from(err: StatusCode) -> YubicoError
Performs the conversion.
impl From<ioError> for YubicoError
[src]
impl From<ioError> for YubicoError
fn from(err: ioError) -> YubicoError
[src]
fn from(err: ioError) -> YubicoError
Performs the conversion.
impl From<channelError> for YubicoError
[src]
impl From<channelError> for YubicoError
fn from(err: channelError) -> YubicoError
[src]
fn from(err: channelError) -> YubicoError
Performs the conversion.
impl From<base64Error> for YubicoError
[src]
impl From<base64Error> for YubicoError
fn from(err: base64Error) -> YubicoError
[src]
fn from(err: base64Error) -> YubicoError
Performs the conversion.
impl From<usbError> for YubicoError
[src]
impl From<usbError> for YubicoError
fn from(err: usbError) -> YubicoError
[src]
fn from(err: usbError) -> YubicoError
Performs the conversion.
Auto Trait Implementations
impl Send for YubicoError
impl Send for YubicoError
impl Sync for YubicoError
impl Sync for YubicoError