Module futures::channel[][src]

Cross-task communication.

Like threads, concurrent tasks sometimes need to communicate with each other. This module contains two basic abstractions for doing so:

Modules

mpsc

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

oneshot

A channel for sending a single message between asynchronous tasks.