pub enum BasicJwtError {
Show 15 variants
CouldNotGuessAlgorithmFamily,
UnsupportedAlgorithmFamily(AlgorithmFamily),
ParseEcPrivateKey(Error),
InvalidEcAlgorithm(ObjectIdentifier),
MissingEcParameters,
DecodeEcParamsAsOID(Error),
UnsupportedEcParams(ObjectIdentifier),
EncodeKeyToPKCS8(Error),
EnvelopeEncodedKeyInPem(Error),
ParseSigningKey(Error),
ParseEncodingKey(Error),
EncodeJWT(Error),
EncodePublicKeyToPem(Error),
ParseDecodingKey(Error),
DecodeJWT(Error),
}Variants§
CouldNotGuessAlgorithmFamily
UnsupportedAlgorithmFamily(AlgorithmFamily)
ParseEcPrivateKey(Error)
InvalidEcAlgorithm(ObjectIdentifier)
MissingEcParameters
DecodeEcParamsAsOID(Error)
UnsupportedEcParams(ObjectIdentifier)
EncodeKeyToPKCS8(Error)
EnvelopeEncodedKeyInPem(Error)
ParseSigningKey(Error)
ParseEncodingKey(Error)
EncodeJWT(Error)
EncodePublicKeyToPem(Error)
ParseDecodingKey(Error)
DecodeJWT(Error)
Trait Implementations§
Source§impl Debug for BasicJwtError
impl Debug for BasicJwtError
Source§impl Display for BasicJwtError
impl Display for BasicJwtError
Source§impl Error for BasicJwtError
impl Error for BasicJwtError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl !RefUnwindSafe for BasicJwtError
impl !UnwindSafe for BasicJwtError
impl Freeze for BasicJwtError
impl Send for BasicJwtError
impl Sync for BasicJwtError
impl Unpin for BasicJwtError
impl UnsafeUnpin for BasicJwtError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more