Skip to main content

Module channel

Module channel 

Source
Expand description

Channel types shared across environments. Channel types shared across environments.

Re-exports the channels used throughout CubeCL so consumers don’t depend on the underlying crates directly.

Modules§

oneshot
One-shot channels: a single value handed from one task to another.

Structs§

Receiver
The receiving side of a channel.
RecvError
An error returned from Receiver::recv().
SendError
An error returned from Sender::send().
Sender
The sending side of a channel.

Enums§

TryRecvError
An error returned from Receiver::try_recv().
TrySendError
An error returned from Sender::try_send().

Functions§

bounded
Creates a bounded channel.
unbounded
Creates an unbounded channel.