Skip to main content

Module mpsc

Module mpsc 

Source
Expand description

Instrumented mpsc channels.

Modules§

error
Channel error types.

Structs§

Receiver
Receives values from the associated Sender.
Sender
An instrumented wrapper around tokio::sync::mpsc::Sender.
UnboundedReceiver
Receive values from the associated UnboundedSender.
UnboundedSender
An instrumented wrapper around tokio::sync::mpsc::UnboundedSender.

Functions§

channel
Creates a bounded mpsc channel for communicating between asynchronous tasks.
unbounded_channel