futures::channel

Module oneshot

Source
Expand description

A channel for sending a single message between asynchronous tasks.

This is a single-producer, single-consumer channel.

Structs§

  • Error returned from a Receiver when the corresponding Sender is dropped.
  • A future that resolves when the receiving end of a channel has hung up.
  • A future for a value that will be provided by another asynchronous task.
  • A means of transmitting a single value to another task.

Functions§

  • Creates a new one-shot channel for sending a single value across asynchronous tasks.