Module af_core::channel[][src]

A multi-producer, multi-consumer channel.

Structs

ClosedError

An error indicating that the channel is closed.

Receiver

A cloneable receiver for a channel.

SendError

An error returned from a Sender::send() or Sender::try_send() call.

Sender

A cloneable sender for a channel.

Enums

SendErrorReason

The reason a SendError was returned.

Functions

unbounded

Creates an channel whose buffer can grow unbounded.

with_capacity

Creates a channel with a buffer of a given capacity.