Skip to main content

bounded

Function bounded 

Source
pub fn bounded<T>(capacity: usize) -> (Producer<T>, Consumer<T>)
👎Deprecated since 1.3.0:

renamed to ring_buffer()

Expand description

Creates a bounded SPMC ring buffer. Renamed to ring_buffer.