Trait concurrency_traits::RawMutex[][src]

pub trait RawMutex: RawTryMutex {
    fn lock(&self);
}

A raw mutex that hold no data but the lock itself.

Required methods

fn lock(&self)[src]

Locks the mutex, blocking.

Loading content...

Implementors

impl<M, Q> RawMutex for RawCustomAsyncMutex<M, Q> where
    M: 'static + RawMutex + Send + Sync,
    Q: 'static + Queue<Item = RawCustomAsyncMutexMessage> + Send + Sync
[src]

Loading content...