Expand description
A oneshot broadcast channel.
The motivation for this channel type was to allow multiple receivers to either wait for something to finish, or to have an inexpensive method of checking if it has finished.
See channel().
StructsΒ§
- BorrowedReceiver πFuture 
- The future from Receiver::borrowed.
- MessageAlready πSet 
- The message has already been set, and we canβt set it again.
- Receiver π
- A oneshot broadcast receiver.
- ReceiverFuture π
- The future from Receiver::into_future.
- Sender π
- A oneshot broadcast sender.
- SenderDropped π
- The sender was dropped, so the channel is closed.
- Shared π
- State shared between the sender and receivers. Correctness:
- WakerKey π
- WakersAlready πWoken 
- The wakers have already been woken.
FunctionsΒ§
- channel π
- Create a new oneshot broadcast channel.
- receiver_fut_ πdrop 
- The shared drop implementation for receiver futures.
- receiver_fut_ πpoll 
- The shared poll implementation for receiver futures.