pub struct MaxAttempts(/* private fields */);Expand description
Nonzero total attempt bound, including the initial attempt.
Implementations§
Trait Implementations§
Source§impl Clone for MaxAttempts
impl Clone for MaxAttempts
Source§fn clone(&self) -> MaxAttempts
fn clone(&self) -> MaxAttempts
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 MaxAttempts
Source§impl Debug for MaxAttempts
impl Debug for MaxAttempts
impl Eq for MaxAttempts
Source§impl Ord for MaxAttempts
impl Ord for MaxAttempts
Source§fn cmp(&self, other: &MaxAttempts) -> Ordering
fn cmp(&self, other: &MaxAttempts) -> 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 MaxAttempts
impl PartialEq for MaxAttempts
Source§impl PartialOrd for MaxAttempts
impl PartialOrd for MaxAttempts
impl StructuralPartialEq for MaxAttempts
Auto Trait Implementations§
impl Freeze for MaxAttempts
impl RefUnwindSafe for MaxAttempts
impl Send for MaxAttempts
impl Sync for MaxAttempts
impl Unpin for MaxAttempts
impl UnsafeUnpin for MaxAttempts
impl UnwindSafe for MaxAttempts
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