pub struct YieldBackoff { /* private fields */ }Expand description
Adaptive backoff strategy: spins for a configurable number of iterations, then yields the CPU time-slice to other OS threads.
Implementations§
Trait Implementations§
Source§impl Clone for YieldBackoff
impl Clone for YieldBackoff
impl Copy for YieldBackoff
Source§impl Debug for YieldBackoff
impl Debug for YieldBackoff
Source§impl Default for YieldBackoff
impl Default for YieldBackoff
Source§impl WaitStrategy for YieldBackoff
impl WaitStrategy for YieldBackoff
Auto Trait Implementations§
impl Freeze for YieldBackoff
impl RefUnwindSafe for YieldBackoff
impl Send for YieldBackoff
impl Sync for YieldBackoff
impl Unpin for YieldBackoff
impl UnsafeUnpin for YieldBackoff
impl UnwindSafe for YieldBackoff
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