[][src]Module drone_core::sync::spsc::oneshot

A channel for sending a single message between asynchronous tasks.

See channel constructor for more.

Structs

Canceled

Error returned from a Receiver when the corresponding Sender is dropped.

Receiver

The receiving-half of oneshot::channel.

Sender

The sending-half of oneshot::channel.

Functions

channel

Creates a new one-shot channel, returning the sender/receiver halves.