Function std::sync::mpmc::channel

source ·
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Expand description

Creates a channel of unbounded capacity.

This channel has a growable buffer that can hold any number of messages at a time.