Function nolock::queues::spsc::bounded::queue[][src]

pub fn queue<T>(capacity: usize) -> (BoundedReceiver<T>, BoundedSender<T>)
Expand description

Creates a new Bounded-Queue with the given Capacity and returns the corresponding Handles (BoundedReceiver, BoundedSender)