[−][src]Crate async_lock
Async locking primitives.
This crate provides the following primitives:
Structs
| Barrier | A counter to synchronize all together at the same time. |
| BarrierWaitResult | Returned by |
| Mutex | An async mutex. |
| MutexGuard | A guard that releases the mutex when dropped. |
| RwLock | An async reader-writer lock. |
| RwLockReadGuard | A guard that releases the read lock when dropped. |
| RwLockWriteGuard | A guard that releases the write lock when dropped. |
| Semaphore | A counter for limiting the number of concurrent operations. |
| SemaphoreGuard | A guard that releases the acquired permit. |