[−][src]Module futures_intrusive::channel
Asynchronous channels.
This module provides various channels that can be used to communicate between asynchronous tasks.
Modules
shared | Channel implementations where Sender and Receiver sides are cloneable and owned. The Futures produced by channels in this module don't require a lifetime parameter. |
Structs
ChannelReceiveFuture | A Future that is returned by the |
ChannelSendError | The error which is returned when sending a value into a channel fails. |
ChannelSendFuture | A Future that is returned by the |
GenericChannel | A channel which can be used to exchange values of type |
GenericOneshotBroadcastChannel | A channel which can be used to exchange a single value between two or more concurrent tasks. |
GenericOneshotChannel | A channel which can be used to exchange a single value between two concurrent tasks. |
GenericStateBroadcastChannel | A channel which can be used to synchronize the state between a sender an arbitrary number of receivers. |
StateId | An ID, which allows to differentiate states received from a Channel.
Elements with a bigger state ID ( |
StateReceiveFuture | A Future that is returned by the |
Enums
CloseStatus | Conveys additional information regarding the status of a channel
following a |
TryReceiveError | The error which is returned when trying to receive from a channel without waiting fails. |
TrySendError | The error which is returned when trying to send on a channel without waiting fails. |
Type Definitions
Channel | A |
LocalChannel | A |
LocalOneshotBroadcastChannel | A |
LocalOneshotChannel | A |
LocalStateBroadcastChannel | A |
LocalUnbufferedChannel | An unbuffered |
OneshotBroadcastChannel | A |
OneshotChannel | A |
StateBroadcastChannel | A |
UnbufferedChannel | An unbuffered |