Crate mesh_channel

Source

Modules§

cancel
Cancel context support.
cell
An implementation of a cell type that can be updated from a remote mesh node.
error
Remotable errors.
pipe
Implementation a unidirectional byte stream pipe over mesh.
rpc
Remote Procedure Call functionality.

Structs§

ChannelError
An error representing a failure of a channel.
MpscReceiver
The receiving half of a channel returned by channel.
MpscSender
The sending half of a channel returned by channel.
OneshotReceiver
The receiving half of a channel returned by oneshot.
OneshotSender
The sending half of a channel returned by oneshot.
Receiver
The receiving half of a channel returned by channel.
Sender
The sending half of a channel returned by channel.

Enums§

ChannelErrorKind
The kind of channel failure.
RecvError
An error when receiving a message from a channel.
TryRecvError
An error when trying to receive a message from a channel.

Functions§

channel
Creates a new channel for sending messages of type T, returning the sender and receiver ends.
mpsc_channel
Creates a new channel for sending messages of type T, returning the sender and receiver ends.
oneshot
Creates a unidirection channel for sending a single value of type T.