local_channel::mpsc

Function channel

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

Creates a unbounded in-memory channel with buffered storage.

Senders and Receivers are !Send.