pub fn ring_channel<T>(capacity: usize) -> (RingSender<T>, RingReceiver<T>)Expand description
Creates a ring-buffer channel pair with the given capacity.
pub fn ring_channel<T>(capacity: usize) -> (RingSender<T>, RingReceiver<T>)Creates a ring-buffer channel pair with the given capacity.