Function tikv_util::mpsc::bounded[−][src]

pub fn bounded<T>(cap: usize) -> (Sender<T>, Receiver<T>)

Create a bounded channel.