Enum crossbeam::sync::chase_lev::Steal [] [src]

pub enum Steal<T> {
    Empty,
    Abort,
    Data(T),
}

When stealing some data, this is an enumeration of the possible outcomes.

Variants

Empty

The deque was empty at the time of stealing

Abort

The stealer lost the race for stealing data, and a retry may return more data.

Data

The stealer has successfully stolen some data.

Trait Implementations

Derived Implementations

impl<T: Debug> Debug for Steal<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<T: Eq> Eq for Steal<T>

impl<T: PartialEq> PartialEq for Steal<T>

fn eq(&self, __arg_0: &Steal<T>) -> bool

fn ne(&self, __arg_0: &Steal<T>) -> bool