Skip to main content

ChunkBufferBuilder

Trait ChunkBufferBuilder 

Source
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§

Source

type Buffer: ChunkBuffer<T>

Building buffer type

Required Methods§

Source

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".

Implementors§