Module futures::channel[][src]

Asynchronous channels.

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

All items are only available when the std or alloc feature of this library is activated, and it is activated by default.

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.