[][src]Struct parking_lot::RawMutex

pub struct RawMutex { /* fields omitted */ }

Raw mutex type backed by the parking lot.

Trait Implementations

impl RawMutex for RawMutex
[src]

Initial value for an unlocked mutex.

Marker type which determines whether a lock guard should be Send. Use one of the GuardSend or GuardNoSend helper types here. Read more

Acquires this mutex, blocking the current thread until it is able to do so.

Attempts to acquire this mutex without blocking.

Unlocks this mutex.

impl RawMutexFair for RawMutex
[src]

Unlocks this mutex using a fair unlock protocol.

Temporarily yields the mutex to a waiting thread if there is one. Read more

impl RawMutexTimed for RawMutex
[src]

Duration type used for try_lock_for.

Instant type used for try_lock_until.

Attempts to acquire this lock until a timeout is reached.

Attempts to acquire this lock until a timeout is reached.

Auto Trait Implementations

impl Send for RawMutex

impl Sync for RawMutex

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Erased for T
[src]