pub struct RefreshError { /* private fields */ }Expand description
A failed key refresh: discovery, fetch, or a key set with nothing usable in it. The keys held before the attempt are kept.
Display is the whole cause chain, outermost first, joined with ": " (e.g.
fetching the JWKS from https://…: request failed: …), so a log line needs no
special formatting to show the root cause.
Trait Implementations§
Source§impl Clone for RefreshError
impl Clone for RefreshError
Source§impl Debug for RefreshError
impl Debug for RefreshError
Source§impl Display for RefreshError
impl Display for RefreshError
impl Eq for RefreshError
Source§impl Error for RefreshError
impl Error for RefreshError
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()
Source§impl PartialEq for RefreshError
impl PartialEq for RefreshError
impl StructuralPartialEq for RefreshError
Auto Trait Implementations§
impl Freeze for RefreshError
impl RefUnwindSafe for RefreshError
impl Send for RefreshError
impl Sync for RefreshError
impl Unpin for RefreshError
impl UnsafeUnpin for RefreshError
impl UnwindSafe for RefreshError
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