[][src]Module futures::lock

Futures-powered synchronization primitives.

Structs

Mutex

A futures-aware mutex.

MutexGuard

An RAII guard returned by the lock and try_lock methods. When this structure is dropped (falls out of scope), the lock will be unlocked.

MutexLockFuture

A future which resolves when the target mutex has been successfully acquired.