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

The deque was empty at the time of stealing

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

The stealer has successfully stolen some data.

Trait Implementations

impl<T: Debug> Debug for Steal<T>
[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for Steal<T>
[src]

impl<T: PartialEq> PartialEq for Steal<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.