Module utils_atomics::flag::mpsc
source · Available on crate feature
alloc
only.Expand description
Multiple producer - Single consumer flag. Can also be used as a SPSC flag
Structs
- AsyncFlag
futures
Async flag that completes when all it’s references are marked or droped. - AsyncSubscribe
futures
Subscriber of anAsyncFlag
- A flag type that completes when all it’s references are marked or dropped.
- Subscriber of a
Flag
Functions
- async_flag
futures
Creates a new pair ofAsyncFlag
andAsyncSubscribe