channel

Function channel 

Source
pub fn channel<T: Send>() -> (Sender<T>, Receiver<T>)
Expand description

Create a new SPMC channel.