Skip to main content

Module channel

Module channel 

Source
Expand description

Utilities for working with channels.

Modulesยง

fallible
Utilities for graceful channel shutdown handling.
mpsc
A multi-producer, single-consumer queue for sending values between asynchronous tasks.
oneshot
A one-shot channel is used for sending a single message between asynchronous tasks. The channel function is used to create a Sender and Receiver handle pair that form the channel.
ring
A bounded mpsc channel that drops the oldest item when full instead of applying backpressure.
tracked
A channel that tracks message delivery.