Enum lockpad_auth::error::Error
source · pub enum Error {
TimeError(SystemTimeError),
JwtError(Error),
Utf8Error(Utf8Error),
RsaPkcs1Error(Error),
RsaError(Error),
JsonError(Error),
DecodeError(DecodeError),
}Variants§
TimeError(SystemTimeError)
JwtError(Error)
Utf8Error(Utf8Error)
RsaPkcs1Error(Error)
RsaError(Error)
JsonError(Error)
DecodeError(DecodeError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DecodeError> for Error
impl From<DecodeError> for Error
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<SystemTimeError> for Error
impl From<SystemTimeError> for Error
source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.