pub struct StdBackoff { /* private fields */ }Expand description
std-only: spin, then yield, then sleep with capped exponential backoff.
Implementations§
Trait Implementations§
Source§impl Clone for StdBackoff
impl Clone for StdBackoff
Source§fn clone(&self) -> StdBackoff
fn clone(&self) -> StdBackoff
Returns a duplicate 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 StdBackoff
impl Debug for StdBackoff
Source§impl Default for StdBackoff
Available on crate feature std only.
impl Default for StdBackoff
Available on crate feature
std only.Source§impl WaitStrategy for StdBackoff
Available on crate feature std only.
impl WaitStrategy for StdBackoff
Available on crate feature
std only.Auto Trait Implementations§
impl Freeze for StdBackoff
impl RefUnwindSafe for StdBackoff
impl Send for StdBackoff
impl Sync for StdBackoff
impl Unpin for StdBackoff
impl UnwindSafe for StdBackoff
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