Enum openidconnect::SigningError
source · #[non_exhaustive]pub enum SigningError {
CryptoError,
UnsupportedAlg(String),
Other(String),
}
Expand description
Error signing a message.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CryptoError
Failed to sign the message using the given key and parameters.
UnsupportedAlg(String)
Unsupported signature algorithm.
Other(String)
An unexpected error occurred.
Trait Implementations§
source§impl Clone for SigningError
impl Clone for SigningError
source§fn clone(&self) -> SigningError
fn clone(&self) -> SigningError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigningError
impl Debug for SigningError
source§impl Display for SigningError
impl Display for SigningError
source§impl Error for SigningError
impl Error for SigningError
1.30.0 · 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 PartialEq for SigningError
impl PartialEq for SigningError
source§fn eq(&self, other: &SigningError) -> bool
fn eq(&self, other: &SigningError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SigningError
impl StructuralPartialEq for SigningError
Auto Trait Implementations§
impl RefUnwindSafe for SigningError
impl Send for SigningError
impl Sync for SigningError
impl Unpin for SigningError
impl UnwindSafe for SigningError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.