pub struct ParkToken { /* private fields */ }Expand description
Identity for one generation of a parking operation.
Implementations§
Trait Implementations§
impl Copy for ParkToken
impl Eq for ParkToken
Source§impl Ord for ParkToken
impl Ord for ParkToken
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ParkToken
impl PartialOrd for ParkToken
impl StructuralPartialEq for ParkToken
Auto Trait Implementations§
impl Forget for ParkToken
impl Freeze for ParkToken
impl RefUnwindSafe for ParkToken
impl Send for ParkToken
impl Sync for ParkToken
impl Unpin for ParkToken
impl UnsafeUnpin for ParkToken
impl UnwindSafe for ParkToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more