pub enum AbsRetryTime {
Immediate,
At(Instant),
Never,
}
Expand description
An absolute RetryTime
.
Unlike RetryTime
, this type always denotes a particular instant in time.
You can derive it using RetryTime::absolute
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AbsRetryTime
impl Clone for AbsRetryTime
Source§fn clone(&self) -> AbsRetryTime
fn clone(&self) -> AbsRetryTime
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AbsRetryTime
impl Debug for AbsRetryTime
Source§impl Ord for AbsRetryTime
impl Ord for AbsRetryTime
Source§fn cmp(&self, other: &AbsRetryTime) -> Ordering
fn cmp(&self, other: &AbsRetryTime) -> Ordering
1.21.0 · 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 AbsRetryTime
impl PartialEq for AbsRetryTime
Source§impl PartialOrd for AbsRetryTime
impl PartialOrd for AbsRetryTime
impl Copy for AbsRetryTime
impl Eq for AbsRetryTime
impl StructuralPartialEq for AbsRetryTime
Auto Trait Implementations§
impl Freeze for AbsRetryTime
impl RefUnwindSafe for AbsRetryTime
impl Send for AbsRetryTime
impl Sync for AbsRetryTime
impl Unpin for AbsRetryTime
impl UnwindSafe for AbsRetryTime
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