Module zellij_utils::channels [−][src]
Expand description
Definitions and helpers for sending and receiving messages between threads.
Structs
Receiver | The receiving side of a channel. |
RecvError | An error returned from the |
Select | Selects from a set of channel operations. |
SendError | An error returned from the |
Sender | The sending side of a channel. |
SenderWithContext | Sends messages on an MPSC channel, along with an |
Constants
OPENCALLS | A key to some thread local storage (TLS) that holds a representation of the thread’s call
stack in the form of an |
Statics
ASYNCOPENCALLS | A key to some task local storage that holds a representation of the task’s call
stack in the form of an |
Functions
bounded | Creates a channel of bounded capacity. |
unbounded | Creates a channel of unbounded capacity. |
Type Definitions
ChannelWithContext | An MPSC asynchronous channel with added error context. |