Crate ckb_channel

Source
Expand description

Reexports crossbeam_channel to uniform the dependency version.

Modules§

oneshot
A one-shot channel is used for sending a single message between asynchronous tasks.

Macros§

select
Selects from a set of channel operations.

Structs§

Receiver
The receiving side of a channel.
RecvError
An error returned from the recv method.
Select
Selects from a set of channel operations.
SendError
An error returned from the send method.
Sender
The sending side of a channel.

Enums§

RecvTimeoutError
An error returned from the recv_timeout method.
TrySendError
An error returned from the try_send method.

Functions§

after
Creates a receiver that delivers a message after a certain duration of time.
bounded
Creates a channel of bounded capacity.
tick
Creates a receiver that delivers messages periodically.
unbounded
Creates a channel of unbounded capacity.