Enum yubico::yubicoerror::YubicoError
[−]
[src]
pub enum YubicoError { Network(Error), HTTPStatusCode(StatusCode), IOError(ioError), ChannelError(channelError), BadOTP, ReplayedOTP, BadSignature, MissingParameter, NoSuchClient, OperationNotAllowed, BackendError, NotEnoughAnswers, ReplayedRequest, UnknownStatus, OTPMismatch, NonceMismatch, SignatureMismatch, }
Variants
Network(Error)
HTTPStatusCode(StatusCode)
IOError(ioError)
ChannelError(channelError)
BadOTP
ReplayedOTP
BadSignature
MissingParameter
NoSuchClient
OperationNotAllowed
BackendError
NotEnoughAnswers
ReplayedRequest
UnknownStatus
OTPMismatch
NonceMismatch
SignatureMismatch
Trait Implementations
impl Debug for YubicoError
[src]
impl Display for YubicoError
[src]
impl Error for YubicoError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for YubicoError
[src]
fn from(err: Error) -> YubicoError
Performs the conversion.
impl From<StatusCode> for YubicoError
[src]
fn from(err: StatusCode) -> YubicoError
Performs the conversion.
impl From<ioError> for YubicoError
[src]
fn from(err: ioError) -> YubicoError
Performs the conversion.
impl From<channelError> for YubicoError
[src]
fn from(err: channelError) -> YubicoError
Performs the conversion.