pub enum CreateVerifierError {
UnsupportedKey,
MissingJwksUri,
Other {
source: BoxedError,
},
}Expand description
Errors that could occur while trying to create a verifier.
Variants§
UnsupportedKey
The key is unsupported.
MissingJwksUri
No JWKS URI was provided to the verifier factory.
Other
Other kinds of errors that may occur while creating a verifier.
Fields
§
source: BoxedErrorThe underlying error.
Trait Implementations§
Source§impl Debug for CreateVerifierError
impl Debug for CreateVerifierError
Source§impl Display for CreateVerifierError
impl Display for CreateVerifierError
Source§impl Error for CreateVerifierError
impl Error for CreateVerifierError
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§impl Error for CreateVerifierError
impl Error for CreateVerifierError
Source§fn is_retryable(&self) -> bool
fn is_retryable(&self) -> bool
If true, this indicates that a failed request may succeed if retried.
Source§impl ErrorCompat for CreateVerifierError
impl ErrorCompat for CreateVerifierError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl From<BoxedError> for CreateVerifierError
impl From<BoxedError> for CreateVerifierError
Source§fn from(error: BoxedError) -> Self
fn from(error: BoxedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateVerifierError
impl !RefUnwindSafe for CreateVerifierError
impl Send for CreateVerifierError
impl Sync for CreateVerifierError
impl Unpin for CreateVerifierError
impl UnsafeUnpin for CreateVerifierError
impl !UnwindSafe for CreateVerifierError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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