pub trait Reader {
    // Required methods
    fn read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        session: &'life1 mut SessionHandle,
        option: Option<CallOptions>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Streaming<PartialResultSet>>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn update_token(&mut self, resume_token: Vec<u8>);
    fn can_resume(&self) -> bool;
}

Required Methods§

source

fn read<'life0, 'life1, 'async_trait>( &'life0 self, session: &'life1 mut SessionHandle, option: Option<CallOptions> ) -> Pin<Box<dyn Future<Output = Result<Response<Streaming<PartialResultSet>>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn update_token(&mut self, resume_token: Vec<u8>)

source

fn can_resume(&self) -> bool

Implementors§