Enum parking_lot_core::ParkResult [−][src]
pub enum ParkResult { Unparked(UnparkToken), Invalid, TimedOut, }
Result of a park operation.
Variants
Unparked(UnparkToken)
We were unparked by another thread with the given token.
The validation callback returned false.
The timeout expired.
Implementations
impl ParkResult
[src]
impl ParkResult
[src]pub fn is_unparked(self) -> bool
[src]
Returns true if we were unparked by another thread.
Trait Implementations
impl Clone for ParkResult
[src]
impl Clone for ParkResult
[src]fn clone(&self) -> ParkResult
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ParkResult> for ParkResult
[src]
impl PartialEq<ParkResult> for ParkResult
[src]