Skip to main content

StreamingDataReader

Trait StreamingDataReader 

Source
pub trait StreamingDataReader: Send + Sync {
    // Required methods
    fn read_chunk(&mut self, chunk_size: usize) -> Result<Option<DataChunk>>;
    fn has_more(&self) -> bool;
    fn reset(&mut self) -> Result<()>;
}
Expand description

Streaming reader trait

Required Methods§

Source

fn read_chunk(&mut self, chunk_size: usize) -> Result<Option<DataChunk>>

Source

fn has_more(&self) -> bool

Source

fn reset(&mut self) -> Result<()>

Implementors§