Skip to main content

BoundedQueue

Type Alias BoundedQueue 

Source
pub type BoundedQueue<T> = HeapBoundedQueue<T>;
Expand description

A heap-backed bounded queue with a FailMode overflow policy — the alloc tier of proxima_core::ring::BoundedQueue. BoundedQueue::new(capacity, fail_mode) is unchanged; the no-alloc peer is proxima_core::ring::StaticBoundedQueue.

Aliased Type§

pub struct BoundedQueue<T> { /* private fields */ }