Crate futures_locks
source ·Expand description
Structs
A Futures-aware Mutex.
A
Future
representing a pending Mutex
acquisition.An RAII mutex guard, much like
std::sync::MutexGuard
. The wrapped data
can be accessed via its Deref
and DerefMut
implementations.A Futures-aware RwLock.
A
Future
representing a pending RwLock
shared acquisition.An RAII guard, much like
std::sync::RwLockReadGuard
. The wrapped data can
be accessed via its Deref
implementation.A
Future
representing a pending RwLock
exclusive acquisition.An RAII guard, much like
std::sync::RwLockWriteGuard
. The wrapped data
can be accessed via its Deref
and DerefMut
implementations.