Skip to main content

bounded

Function bounded 

Source
pub fn bounded<T>(
    capacity: usize,
    overflow: Overflow,
) -> (Sender<T>, Receiver<T>)
Expand description

A bounded queue with the given policy.