pub trait ChunkQueue {
// Required methods
fn pop(&mut self) -> Option<u64>;
fn push(&mut self, val: u64) -> Result<(), &'static str>;
fn is_empty(&self) -> bool;
fn is_full(&self) -> bool;
fn capacity(&self) -> usize;
}pub trait ChunkQueue {
// Required methods
fn pop(&mut self) -> Option<u64>;
fn push(&mut self, val: u64) -> Result<(), &'static str>;
fn is_empty(&self) -> bool;
fn is_full(&self) -> bool;
fn capacity(&self) -> usize;
}