Module ckb_channel::oneshot[][src]

Expand description

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

Structs

The receiving half of Rust’s channel (or sync_channel) type. This half can only be owned by one thread.

An error returned from the recv function on a Receiver.

The sending-half of Rust’s synchronous sync_channel type.

Functions

Create a new one-shot channel for sending single values across asynchronous tasks.