Trait tikv_client_store::Request [−][src]
pub trait Request: Any + Sync + Send + 'static { #[must_use] fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; fn label(&self) -> &'static str; fn as_any(&self) -> &dyn Any; fn set_context(&mut self, context: Context); }
Required methods
#[must_use]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn dispatch<'life0, 'life1, 'async_trait>(&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
Implementations on Foreign Types
impl Request for RawGetRequest
[src]
impl Request for RawGetRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawBatchGetRequest
[src]
impl Request for RawBatchGetRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawPutRequest
[src]
impl Request for RawPutRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawBatchPutRequest
[src]
impl Request for RawBatchPutRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawDeleteRequest
[src]
impl Request for RawDeleteRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawBatchDeleteRequest
[src]
impl Request for RawBatchDeleteRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawScanRequest
[src]
impl Request for RawScanRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawBatchScanRequest
[src]
impl Request for RawBatchScanRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawDeleteRangeRequest
[src]
impl Request for RawDeleteRangeRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for RawCasRequest
[src]
impl Request for RawCasRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for GetRequest
[src]
impl Request for GetRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for ScanRequest
[src]
impl Request for ScanRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for PrewriteRequest
[src]
impl Request for PrewriteRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for CommitRequest
[src]
impl Request for CommitRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for CleanupRequest
[src]
impl Request for CleanupRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for BatchGetRequest
[src]
impl Request for BatchGetRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for BatchRollbackRequest
[src]
impl Request for BatchRollbackRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for PessimisticRollbackRequest
[src]
impl Request for PessimisticRollbackRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for ResolveLockRequest
[src]
impl Request for ResolveLockRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for ScanLockRequest
[src]
impl Request for ScanLockRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for PessimisticLockRequest
[src]
impl Request for PessimisticLockRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for TxnHeartBeatRequest
[src]
impl Request for TxnHeartBeatRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for CheckTxnStatusRequest
[src]
impl Request for CheckTxnStatusRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for CheckSecondaryLocksRequest
[src]
impl Request for CheckSecondaryLocksRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for GcRequest
[src]
impl Request for GcRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn label(&self) -> &'static str
[src]
fn as_any(&self) -> &dyn Any
[src]
fn set_context(&mut self, context: Context)
[src]
impl Request for DeleteRangeRequest
[src]
impl Request for DeleteRangeRequest
[src]fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client: &'life1 TikvClient,
options: CallOption
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,