pub trait LoadPartition<T> {
    // Required method
    fn load_partition(&self, index: usize) -> Result<Partition<T>, Error>;
}
Expand description

Capability of loading a partition.

Supposed to be specialized for a specific Database.

Required Methods§

source

fn load_partition(&self, index: usize) -> Result<Partition<T>, Error>

Loads a partition at a given index.

None if index is out of the bounds.

Implementors§

source§

impl<FS> LoadPartition<f32> for Database<f32, FS>where FS: FileSystem,