Trait google_cloud_spanner::reader::Reader
source · pub trait Reader: Send + Sync {
// Required methods
fn read(
&self,
session: &mut SessionHandle,
option: Option<CallOptions>,
) -> impl Future<Output = Result<Response<Streaming<PartialResultSet>>, Status>> + Send;
fn update_token(&mut self, resume_token: Vec<u8>);
fn can_resume(&self) -> bool;
}Required Methods§
fn read( &self, session: &mut SessionHandle, option: Option<CallOptions>, ) -> impl Future<Output = Result<Response<Streaming<PartialResultSet>>, Status>> + Send
fn update_token(&mut self, resume_token: Vec<u8>)
fn can_resume(&self) -> bool
Object Safety§
This trait is not object safe.