Trait grenad::ChunkCreator[][src]

pub trait ChunkCreator {
    type Chunk: Write + Seek + Read;
    type Error: Into<Error>;
    fn create(&self) -> Result<Self::Chunk, Self::Error>;
}
Expand description

A trait that represent a ChunkCreator.

Associated Types

The generated chunk by this ChunkCreator.

The error that can be thrown by this ChunkCreator.

Required methods

The method called by the sorter that returns the created chunk.

Implementations on Foreign Types

Implementors