Struct parking_lot_core::ParkToken
[−]
[src]
pub struct ParkToken(pub usize);
A value associated with a parked thread which can be used by unpark_filter
.
Trait Implementations
impl Copy for ParkToken
[src]
impl Clone for ParkToken
[src]
fn clone(&self) -> ParkToken
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
impl Eq for ParkToken
[src]
impl PartialEq for ParkToken
[src]
fn eq(&self, __arg_0: &ParkToken) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParkToken) -> bool
This method tests for !=
.