Expand description
Synchronization primitives.
Structs§
- Eager
Future - A cell whose value is seeded with a task scheduled at
EagerFutureCell::new, in the background.
Traits§
- Result
Cell - Acts as a storage backend to
EagerFutureCell.
Type Aliases§
- Async
Sharded Mutex Shardedovertokio::sync::Mutexused purely as a lock (it guards(), carrying no value):lockisasync, and its guard may be held across.awaits.- Eager
Future Cell - A cell whose value is seeded with a task scheduled at
EagerFutureCell::new, in the background. - MutEager
Future Cell - A cell whose value is seeded with a task scheduled at
MutEagerFutureCell::new, in the background. Unlike theEagerFutureCellone-shot dual,MutEagerFutureCellallows you to emplace any arbitrary value into the cell, via theoverwritecall. - Sharded
Mutex Shardedoverparking_lot::Mutexused purely as a lock (it guards(), carrying no value):lockblocks the calling thread, so never hold its guard across an.await.