pub struct AttemptBudget(/* private fields */);Expand description
Nonzero maximum number of attempts sharing one authority.
Implementations§
Trait Implementations§
Source§impl Clone for AttemptBudget
impl Clone for AttemptBudget
Source§fn clone(&self) -> AttemptBudget
fn clone(&self) -> AttemptBudget
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 AttemptBudget
Source§impl Debug for AttemptBudget
impl Debug for AttemptBudget
impl Eq for AttemptBudget
Source§impl Ord for AttemptBudget
impl Ord for AttemptBudget
Source§fn cmp(&self, other: &AttemptBudget) -> Ordering
fn cmp(&self, other: &AttemptBudget) -> 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 AttemptBudget
impl PartialEq for AttemptBudget
Source§impl PartialOrd for AttemptBudget
impl PartialOrd for AttemptBudget
impl StructuralPartialEq for AttemptBudget
Auto Trait Implementations§
impl Freeze for AttemptBudget
impl RefUnwindSafe for AttemptBudget
impl Send for AttemptBudget
impl Sync for AttemptBudget
impl Unpin for AttemptBudget
impl UnsafeUnpin for AttemptBudget
impl UnwindSafe for AttemptBudget
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