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 ParkToken
impl Clone for ParkToken
[src]
impl Clone for ParkToken
fn clone(&self) -> ParkToken
[src]
fn clone(&self) -> ParkToken
Returns 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 ParkToken
impl PartialEq for ParkToken
[src]
impl PartialEq for ParkToken
fn eq(&self, other: &ParkToken) -> bool
[src]
fn eq(&self, other: &ParkToken) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for ParkToken
[src]
impl Debug for ParkToken