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 Copy for ParkTokenimpl Clone for ParkToken[src]
impl Clone for ParkTokenfn clone(&self) -> ParkToken[src]
fn clone(&self) -> ParkTokenReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for ParkToken[src]
impl Eq for ParkTokenimpl PartialEq for ParkToken[src]
impl PartialEq for ParkTokenfn eq(&self, other: &ParkToken) -> bool[src]
fn eq(&self, other: &ParkToken) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ParkToken) -> bool[src]
fn ne(&self, other: &ParkToken) -> boolThis method tests for !=.
impl Debug for ParkToken[src]
impl Debug for ParkToken