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(T)
The stealer has successfully stolen some data.
Trait Implementations
impl<T: PartialEq> PartialEq for Steal<T>
[src]
fn eq(&self, __arg_0: &Steal<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Steal<T>) -> bool
This method tests for !=
.