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

A single-producer, single-consumer queue for sending values across asynchronous tasks.

See channel constructor for more.

Structs

Receiver

The receiving-half of ring::channel.

SendError

The error type returned from Sender::send.

Sender

The sending-half of ring::channel.

Enums

SendErrorKind

Kind of SendError.

Constants

MAX_CAPACITY

Maximum capacity of the channel.

Functions

channel

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