pub trait ChunkBuffer<T: Send>: IntoIterator<Item = T> + ParallelSliceMut<T> + Send {
    fn push(&mut self, item: T);
fn len(&self) -> usize;
fn is_full(&self) -> bool; }
Expand description

Base limited buffer interface. Provides methods for pushing data to the buffer and checking buffer state.

Required methods

Adds a new element to the buffer.

Arguments
  • item - Item to be added to the buffer

Returns the buffer length.

Checks if the buffer reached the limit.

Implementors