pub enum RefreshHandoffError {
ExplicitTimeRequired,
LifetimeNotConfigured,
RefreshNotRequired,
CredentialExpired,
ClockRollback,
}Expand description
Time-qualified refresh-handoff failure.
Variants§
ExplicitTimeRequired
Expiring credentials require a time-qualified refresh handoff.
LifetimeNotConfigured
A static credential has no expiry-qualified refresh window.
RefreshNotRequired
The credential has not reached its refresh window.
CredentialExpired
The credential has reached its exclusive expiry.
ClockRollback
The supplied caller time precedes lifetime observation.
Trait Implementations§
Source§impl Clone for RefreshHandoffError
impl Clone for RefreshHandoffError
Source§fn clone(&self) -> RefreshHandoffError
fn clone(&self) -> RefreshHandoffError
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 moreimpl Copy for RefreshHandoffError
Source§impl Debug for RefreshHandoffError
impl Debug for RefreshHandoffError
Source§impl Display for RefreshHandoffError
impl Display for RefreshHandoffError
impl Eq for RefreshHandoffError
Source§impl Error for RefreshHandoffError
impl Error for RefreshHandoffError
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 RefreshHandoffError
impl PartialEq for RefreshHandoffError
impl StructuralPartialEq for RefreshHandoffError
Auto Trait Implementations§
impl Freeze for RefreshHandoffError
impl RefUnwindSafe for RefreshHandoffError
impl Send for RefreshHandoffError
impl Sync for RefreshHandoffError
impl Unpin for RefreshHandoffError
impl UnsafeUnpin for RefreshHandoffError
impl UnwindSafe for RefreshHandoffError
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