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

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

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, so `Worker` does not implement `Clone` or `Copy`.

## Methods

### `impl<T> Worker<T>`
[src]

#### `pub fn push(&self, t: T)`
[src]

Pushes data onto the front of this work queue.

#### `pub fn try_pop(&self) -> Option<T>`
[src]

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

## Trait Implementations

### `impl<T: Debug> Debug for Worker<T>`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)