pub struct CachedFailure { /* private fields */ }Expand description
An unexpired persistent population failure.
Implementations§
Source§impl CachedFailure
impl CachedFailure
Sourcepub const fn kind(self) -> FailureKind
pub const fn kind(self) -> FailureKind
Returns the stable failure class.
Sourcepub const fn expires_at(self) -> SystemTime
pub const fn expires_at(self) -> SystemTime
Returns when this failure should be retried.
Trait Implementations§
Source§impl Clone for CachedFailure
impl Clone for CachedFailure
Source§fn clone(&self) -> CachedFailure
fn clone(&self) -> CachedFailure
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 CachedFailure
Source§impl Debug for CachedFailure
impl Debug for CachedFailure
impl Eq for CachedFailure
Source§impl PartialEq for CachedFailure
impl PartialEq for CachedFailure
Source§fn eq(&self, other: &CachedFailure) -> bool
fn eq(&self, other: &CachedFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CachedFailure
Auto Trait Implementations§
impl Freeze for CachedFailure
impl RefUnwindSafe for CachedFailure
impl Send for CachedFailure
impl Sync for CachedFailure
impl Unpin for CachedFailure
impl UnsafeUnpin for CachedFailure
impl UnwindSafe for CachedFailure
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more