pub struct RefreshHandoff { /* private fields */ }Expand description
Opaque generation captured before an external refresh operation begins.
The handoff owns no credential, clock, future, executor, or secret-store handle. A credential store uses it to reject stale refresh completion.
Implementations§
Source§impl RefreshHandoff
impl RefreshHandoff
Sourcepub const fn expected_generation(self) -> CredentialGeneration
pub const fn expected_generation(self) -> CredentialGeneration
Returns the generation that must still be current.
Trait Implementations§
Source§impl Clone for RefreshHandoff
impl Clone for RefreshHandoff
Source§fn clone(&self) -> RefreshHandoff
fn clone(&self) -> RefreshHandoff
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 RefreshHandoff
Source§impl Debug for RefreshHandoff
impl Debug for RefreshHandoff
impl Eq for RefreshHandoff
Source§impl Hash for RefreshHandoff
impl Hash for RefreshHandoff
Source§impl Ord for RefreshHandoff
impl Ord for RefreshHandoff
Source§fn cmp(&self, other: &RefreshHandoff) -> Ordering
fn cmp(&self, other: &RefreshHandoff) -> 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 RefreshHandoff
impl PartialEq for RefreshHandoff
Source§impl PartialOrd for RefreshHandoff
impl PartialOrd for RefreshHandoff
impl StructuralPartialEq for RefreshHandoff
Auto Trait Implementations§
impl Freeze for RefreshHandoff
impl RefUnwindSafe for RefreshHandoff
impl Send for RefreshHandoff
impl Sync for RefreshHandoff
impl Unpin for RefreshHandoff
impl UnsafeUnpin for RefreshHandoff
impl UnwindSafe for RefreshHandoff
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