Expand description
Per-key asynchronous mutual exclusion with automatic entry cleanup.
Each key maps to a Tokio mutex shared by its current contenders. The last contender to release its claim removes the entry, whether it held the mutex or was canceled while waiting for it.
Structsยง
- Guard
- Keeps a keyed mutex locked until the guard is dropped.
- Mutex
Map - Provides independent asynchronous mutexes keyed by owned values.