Enum cdrs_tokio::retry::RetryDecision
source · pub enum RetryDecision {
RetrySameNode,
RetryNextNode,
DontRetry,
}
Variants§
Trait Implementations§
source§impl Clone for RetryDecision
impl Clone for RetryDecision
source§fn clone(&self) -> RetryDecision
fn clone(&self) -> RetryDecision
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 RetryDecision
impl Debug for RetryDecision
source§impl Display for RetryDecision
impl Display for RetryDecision
source§impl Hash for RetryDecision
impl Hash for RetryDecision
source§impl Ord for RetryDecision
impl Ord for RetryDecision
source§fn cmp(&self, other: &RetryDecision) -> Ordering
fn cmp(&self, other: &RetryDecision) -> 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 RetryDecision
impl PartialEq for RetryDecision
source§fn eq(&self, other: &RetryDecision) -> bool
fn eq(&self, other: &RetryDecision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RetryDecision
impl PartialOrd for RetryDecision
source§fn partial_cmp(&self, other: &RetryDecision) -> Option<Ordering>
fn partial_cmp(&self, other: &RetryDecision) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RetryDecision
impl Eq for RetryDecision
impl StructuralPartialEq for RetryDecision
Auto Trait Implementations§
impl Freeze for RetryDecision
impl RefUnwindSafe for RetryDecision
impl Send for RetryDecision
impl Sync for RetryDecision
impl Unpin for RetryDecision
impl UnwindSafe for RetryDecision
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