pub enum SharedAuthError {
Show 23 variants
AlgNone,
AlgNotWhitelisted,
AlgHmacRejected,
AlgRsaRejected,
AlgEcdsaRejected,
HeaderJku,
HeaderX5u,
HeaderJwk,
HeaderX5c,
HeaderCrit,
KidUnknown,
TypMismatch,
NestedJws,
JwePayload,
HeaderExtraParam,
HeaderB64False,
JwsJsonRejected,
DuplicateJsonKeys,
LaxBase64,
OversizedToken,
NotJwsCompact,
HeaderUnparseable,
PayloadUnparseable,
}Variants§
AlgNone
AlgNotWhitelisted
AlgHmacRejected
AlgRsaRejected
AlgEcdsaRejected
HeaderJku
HeaderX5u
HeaderJwk
HeaderX5c
HeaderCrit
KidUnknown
TypMismatch
NestedJws
JwePayload
HeaderExtraParam
HeaderB64False
JwsJsonRejected
DuplicateJsonKeys
LaxBase64
OversizedToken
NotJwsCompact
HeaderUnparseable
PayloadUnparseable
Trait Implementations§
Source§fn clone(&self) -> SharedAuthError
fn clone(&self) -> SharedAuthError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more1.30.0 · 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()
Source§fn from(source: SharedAuthError) -> Self
fn from(source: SharedAuthError) -> Self
Converts to this type from the input type.
Source§fn from(source: SharedAuthError) -> Self
fn from(source: SharedAuthError) -> Self
Converts to this type from the input type.
Source§fn eq(&self, other: &SharedAuthError) -> bool
fn eq(&self, other: &SharedAuthError) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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