Enum parking_lot::UnparkResult
[−]
[src]
pub enum UnparkResult { NoParkedThreads, UnparkedLast, UnparkedNotLast, }
Result of an unpark_one
operation.
Variants
NoParkedThreads
No parked threads were found for the given key.
UnparkedLast
One thread was unparked and it was one in the queue.
UnparkedNotLast
One thread was unparked but there are more in the queue.
Trait Implementations
impl Debug for UnparkResult
[src]
impl PartialEq for UnparkResult
[src]
fn eq(&self, __arg_0: &UnparkResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for UnparkResult
[src]
impl Clone for UnparkResult
[src]
fn clone(&self) -> UnparkResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more