Struct deque::Worker [] [src]

pub struct Worker<T: Send> { /* fields omitted */ }

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.

Methods

impl<T: Send> Worker<T>
[src]

Pushes data onto the front of this work queue.

Pops data off the front of the work queue, returning None on an empty queue.

Trait Implementations

impl<T: Send> Debug for Worker<T>
[src]

Formats the value using the given formatter.