Struct crossbeam::sync::chase_lev::Stealer [−][src]
pub struct Stealer<T> { /* fields omitted */ }
The stealing half of the work-stealing deque. Stealers have access to the
opposite end of the deque from the worker, and they only have access to the
steal
method.
Stealers can be cloned to have more than one handle active at a time.
Methods
impl<T> Stealer<T>
[src]
impl<T> Stealer<T>
pub fn steal(&self) -> Steal<T>
[src]
pub fn steal(&self) -> Steal<T>
Steals work off the end of the queue (opposite of the worker's end)
Trait Implementations
impl<T: Debug> Debug for Stealer<T>
[src]
impl<T: Debug> Debug for Stealer<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Clone for Stealer<T>
[src]
impl<T> Clone for Stealer<T>