Module tchannel::oneshot [] [src]

Oneshot channels.

See the root of the crate for more documentation.

Reexports

pub use super::SendError;

Structs

Receiver

The receiving side of the channel. See channel to create a channel.

Sender

The sending side of the channel. See channel to create a channel.

SenderDisconnectedError

This error is returned by the ReceiveFuture, to indicate that the sending side of the channel was dropped without sending a value. This is the same error as ReceiveError::Disconnected.

Enums

ReceiveError

The error returned by trying to receive a value.

Functions

channel

Create a new oneshot channel.