Enum frank_jwt::error::Error
[−]
[src]
pub enum Error { SignatureExpired, SignatureInvalid, JWTInvalid, IssuerInvalid, ExpirationInvalid, AudienceInvalid, FormatInvalid(String), IoError(String), OpenSslError(String), ProtocolError(String), }
Variants
SignatureExpired
SignatureInvalid
JWTInvalid
IssuerInvalid
ExpirationInvalid
AudienceInvalid
FormatInvalid(String)
IoError(String)
OpenSslError(String)
ProtocolError(String)
Trait Implementations
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Eq for Error
[src]
impl From<IoError> for Error
[src]
impl From<SJError> for Error
[src]
impl From<ErrorStack> for Error
[src]
fn from(e: ErrorStack) -> Self
[src]
Performs the conversion.