Skip to main content

Module channel

Module channel 

Source
Expand description

Asynchronous communication primitives.

These channels are primarily intended for local, single-threaded ntex tasks. Individual modules document their ownership and backpressure behavior.

Modules§

bstream
A buffered stream of byte chunks.
condition
inplace
A futures-aware bounded(1) channel.
mpsc
A multi-producer, single-consumer, futures-aware, FIFO queue.
oneshot
A one-shot, futures-aware channel.
pool
A one-shot pool, futures-aware channel.

Structs§

Canceled
Error returned when a channel is canceled before producing a value.