AlignedFileReader

Trait AlignedFileReader 

Source
pub trait AlignedFileReader: Send + Sync {
    // Required method
    fn read(
        &mut self,
        read_requests: &mut [AlignedRead<'_, u8>],
    ) -> ANNResult<()>;
}

Required Methods§

Source

fn read(&mut self, read_requests: &mut [AlignedRead<'_, u8>]) -> ANNResult<()>

Read the data from the file by sending concurrent io requests in batches.

Implementors§