pub trait ChunkBufferBuilder<T: Send>: Default {
type Buffer: ChunkBuffer<T>;
// Required method
fn build(&self) -> Self::Buffer;
}
Expand description
Limited buffer builder. Creates buffers using provided buffer parameters.
Required Associated Types§
Sourcetype Buffer: ChunkBuffer<T>
type Buffer: ChunkBuffer<T>
Building buffer type
Required Methods§
Sourcefn build(&self) -> Self::Buffer
fn build(&self) -> Self::Buffer
Creates a new ChunkBuffer
trait instance.
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.