pub trait SegmentBuilder: Default {
    // Required method
    fn create_new_segment<T>(&self, capacity: usize) -> Result<Segment<T>>;
}
Expand description

Trait that contains everything we need to deals with unique segment creation.

Required Methods§

source

fn create_new_segment<T>(&self, capacity: usize) -> Result<Segment<T>>

Create / allocate new memory mapped segment.

Implementors§