bounded

Function bounded 

Source
pub fn bounded<T>(buffer: usize) -> (Sender<T>, Receiver<T>)
Expand description

Create a bounded mpsc channel.