pub fn bounded<T>(capacity: usize) -> Queue<T>
Alias for Queue::new, creates a new bounded MPMC queue with the given capacity.
Queue::new
MPMC
Writes will fail if the queue is full.