pub enum CredentialLifetimeState {
ClockRollback,
Fresh,
RefreshRequired,
Expired,
}Expand description
State of an expiring credential at one caller-provided timestamp.
Variants§
ClockRollback
The supplied time precedes the acquisition observation.
Fresh
The credential is before its refresh window.
RefreshRequired
The credential is inside its refresh window but not expired.
Expired
The credential has reached or passed its exclusive expiry.
Trait Implementations§
Source§impl Clone for CredentialLifetimeState
impl Clone for CredentialLifetimeState
Source§fn clone(&self) -> CredentialLifetimeState
fn clone(&self) -> CredentialLifetimeState
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 CredentialLifetimeState
Source§impl Debug for CredentialLifetimeState
impl Debug for CredentialLifetimeState
impl Eq for CredentialLifetimeState
Source§impl Hash for CredentialLifetimeState
impl Hash for CredentialLifetimeState
Source§impl Ord for CredentialLifetimeState
impl Ord for CredentialLifetimeState
Source§fn cmp(&self, other: &CredentialLifetimeState) -> Ordering
fn cmp(&self, other: &CredentialLifetimeState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CredentialLifetimeState
impl PartialEq for CredentialLifetimeState
Source§impl PartialOrd for CredentialLifetimeState
impl PartialOrd for CredentialLifetimeState
impl StructuralPartialEq for CredentialLifetimeState
Auto Trait Implementations§
impl Freeze for CredentialLifetimeState
impl RefUnwindSafe for CredentialLifetimeState
impl Send for CredentialLifetimeState
impl Sync for CredentialLifetimeState
impl Unpin for CredentialLifetimeState
impl UnsafeUnpin for CredentialLifetimeState
impl UnwindSafe for CredentialLifetimeState
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