Enum deque::Stolen [] [src]

pub enum Stolen<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: PartialEq> PartialEq for Stolen<T>
[src]

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

This method tests for !=.

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

Formats the value using the given formatter.