Expand description
Futures-powered synchronization primitives.
This module is only available when the std
or alloc
feature of this
library is activated, and it is activated by default.
Structsยง
- Mapped
Mutex Guard - An RAII guard returned by the
MutexGuard::map
andMappedMutexGuard::map
methods. When this structure is dropped (falls out of scope), the lock will be unlocked. - Mutex
- A futures-aware mutex.
- Mutex
Guard - An RAII guard returned by the
lock
andtry_lock
methods. When this structure is dropped (falls out of scope), the lock will be unlocked. - Mutex
Lock Future - A future which resolves when the target mutex has been successfully acquired.
- Owned
Mutex Guard - An RAII guard returned by the
lock_owned
andtry_lock_owned
methods. When this structure is dropped (falls out of scope), the lock will be unlocked. - Owned
Mutex Lock Future - A future which resolves when the target mutex has been successfully acquired, owned version.