pub struct YieldStrategy;Expand description
thread::yield_now between retries. Good default when the threads share
cores with other work.
Trait Implementations§
Source§impl WaitStrategy for YieldStrategy
impl WaitStrategy for YieldStrategy
Auto Trait Implementations§
impl Freeze for YieldStrategy
impl RefUnwindSafe for YieldStrategy
impl Send for YieldStrategy
impl Sync for YieldStrategy
impl Unpin for YieldStrategy
impl UnsafeUnpin for YieldStrategy
impl UnwindSafe for YieldStrategy
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