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]

[src]

Returns true if we were unparked by another thread.

Trait Implementations

impl Copy for ParkResult
[src]

impl Clone for ParkResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ParkResult
[src]

impl PartialEq for ParkResult
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ParkResult
[src]

[src]

Formats the value using the given formatter.