Trait orc_rust::reader::AsyncChunkReader

source ·
pub trait AsyncChunkReader: Send {
    // Required methods
    fn len(&mut self) -> BoxFuture<'_, Result<u64>>;
    fn get_bytes(
        &mut self,
        offset_from_start: u64,
        length: u64,
    ) -> BoxFuture<'_, Result<Bytes>>;
}

Required Methods§

source

fn len(&mut self) -> BoxFuture<'_, Result<u64>>

source

fn get_bytes( &mut self, offset_from_start: u64, length: u64, ) -> BoxFuture<'_, Result<Bytes>>

Trait Implementations§

source§

impl AsyncChunkReader for Box<dyn AsyncChunkReader>

source§

fn len(&mut self) -> BoxFuture<'_, Result<u64>>

source§

fn get_bytes( &mut self, offset_from_start: u64, length: u64, ) -> BoxFuture<'_, Result<Bytes>>

Implementations on Foreign Types§

source§

impl AsyncChunkReader for Box<dyn AsyncChunkReader>

source§

fn len(&mut self) -> BoxFuture<'_, Result<u64>>

source§

fn get_bytes( &mut self, offset_from_start: u64, length: u64, ) -> BoxFuture<'_, Result<Bytes>>

Implementors§