Expand description
Core mesh channel functionality, supporting sending and receiving messages within and between nodes.
This contains only the basic channel implementations, not the extra utility
types on top that mesh_channel
provides.
Structs§
- An error representing a failure of a channel.
- The receiving half of a channel returned by
oneshot
. - The sending half of a channel returned by
oneshot
. - The receiving half of a channel returned by
channel
. - The future returned by
Receiver::recv
. - The sending half of a channel returned by
channel
.
Enums§
- The kind of channel failure.
- An error when receiving a message from a channel.
- An error when trying to receive a message from a channel.
Functions§
- Creates a new channel for sending messages of type
T
, returning the sender and receiver ends. - Creates a unidirection channel for sending a single value of type
T
.