Module futures_util::lock
source · Expand description
Futures-powered synchronization primitives.
Structs§
- A futures-aware mutex.
- An RAII guard returned by the
lock
andtry_lock
methods. When this structure is dropped (falls out of scope), the lock will be unlocked. - A future which resolves when the target mutex has been successfully acquired.