[][src]Module tokio::sync::oneshot

This is supported on crate feature sync only.

A channel for sending a single message between asynchronous tasks.

Modules

errorsync

Oneshot error types

Structs

Receiversync

Receive a value from the associated Sender.

Sendersync

Sends a value to the associated Receiver.

Functions

channelsync

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