Enum parking_lot_core::ParkResult[][src]

pub enum ParkResult {
    Unparked(UnparkToken),
    Invalid,
    TimedOut,
}

Result of a park operation.

Variants

We were unparked by another thread with the given token.

The validation callback returned false.

The timeout expired.

Methods

impl ParkResult
[src]

Returns true if we were unparked by another thread.

Trait Implementations

impl Copy for ParkResult
[src]

impl Clone for ParkResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ParkResult
[src]

impl PartialEq for ParkResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ParkResult
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ParkResult

impl Sync for ParkResult