Module zellij_utils::channels[][src]

Expand description

Definitions and helpers for sending and receiving messages between threads.

Structs

The receiving side of a channel.

An error returned from the recv method.

Selects from a set of channel operations.

An error returned from the send method.

The sending side of a channel.

Sends messages on an MPSC channel, along with an ErrorContext, synchronously or asynchronously depending on the underlying [SenderType].

Constants

A key to some thread local storage (TLS) that holds a representation of the thread’s call stack in the form of an ErrorContext.

Statics

A key to some task local storage that holds a representation of the task’s call stack in the form of an ErrorContext.

Functions

Creates a channel of bounded capacity.

Creates a channel of unbounded capacity.

Type Definitions

An MPSC asynchronous channel with added error context.