Struct crossbeam::sync::chase_lev::Worker[][src]

pub struct Worker<T> { /* fields omitted */ }
Expand description

Worker half of the work-stealing deque. This worker has exclusive access to one side of the deque, and uses push and try_pop method to manipulate it.

There may only be one worker per deque, and operations on the worker require mutable access to the worker itself.

Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.