Module utils_atomics::flag::mpmc
source · Available on crate feature
alloc
only.Expand description
Multiple producer - Multiple consumer flag
Structs
- AsyncFlag
futures
Async flag that will be completed when all references toFlag
have been dropped or marked. - AsyncSubscribe
futures
Subscriber of anAsyncFlag
- A flag type that will be completed when all its references have been dropped or marked.
- Subscriber of a
Flag
Functions
- async_flag
futures
Creates a new pair ofAsyncFlag
andAsyncSubscribe