pub trait ChunkBuffer<T: Send>:
IntoIterator<Item = T>
+ ParallelSliceMut<T>
+ Send {
// Required methods
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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.