Module mpsc

Module mpsc 

Source
Available on crate feature alloc only.
Expand description

Multiple producer - Single consumer flag. Can also be used as a SPSC flag

Structs§

AsyncFlagfutures
Async flag that completes when all it’s references are marked or droped.
AsyncSubscribefutures
Subscriber of an AsyncFlag
Flag
A flag type that completes when all it’s references are marked or dropped.
Subscribe
Subscriber of a Flag

Functions§

async_flagfutures
Creates a new pair of AsyncFlag and AsyncSubscribe
flag
Creates a new pair of Flag and Subscribe