pub enum JwksError {
DuplicateKid(String),
}Expand description
JWKS-side errors surfaced to consumers of into_key_set.
Distinct from AuthError because this fires at configuration time
(boot / cache refresh), not per-request verify time. Operators see
these in startup logs; users never do.
Variants§
DuplicateKid(String)
Two JWK entries share a kid. Engine refuses to insert both
because KeySet::get would be non-deterministic. Operator must
fix the upstream JWKS source.
Trait Implementations§
Source§impl Error for JwksError
impl Error for JwksError
1.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()
impl Eq for JwksError
impl StructuralPartialEq for JwksError
Auto Trait Implementations§
impl Freeze for JwksError
impl RefUnwindSafe for JwksError
impl Send for JwksError
impl Sync for JwksError
impl Unpin for JwksError
impl UnsafeUnpin for JwksError
impl UnwindSafe for JwksError
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