pub fn bounded<T: Clone + Unpin>(capacity: usize) -> (Sender<T>, Receiver<T>)
Expand description

Create a bounded channel of the given capacity.