Skip to main content

SamplesFormatReader

Trait SamplesFormatReader 

Source
pub(crate) trait SamplesFormatReader: Send + Sync {
    // Required methods
    fn schema(&self) -> SchemaRef;
    fn read(
        &self,
        request: SamplesReadRequest,
    ) -> Result<BoxStream<'static, Result<SamplesBatch>>>;
}

Required Methods§

Source

fn schema(&self) -> SchemaRef

Source

fn read( &self, request: SamplesReadRequest, ) -> Result<BoxStream<'static, Result<SamplesBatch>>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§