pub struct Worker<T: Send> { /* private fields */ }
Expand description
Worker half of the work-stealing deque. This worker has exclusive access to
one side of the deque, and uses push
and pop
method to manipulate it.
There may only be one worker per deque.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Worker<T>
impl<T> !RefUnwindSafe for Worker<T>
impl<T> Send for Worker<T>
impl<T> !Sync for Worker<T>
impl<T> Unpin for Worker<T>
impl<T> UnwindSafe for Worker<T>
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