ChunkQueue

Trait ChunkQueue 

Source
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;
}

Required Methods§

Source

fn pop(&mut self) -> Option<u64>

Source

fn push(&mut self, val: u64) -> Result<(), &'static str>

Source

fn is_empty(&self) -> bool

Source

fn is_full(&self) -> bool

Source

fn capacity(&self) -> usize

Implementors§