Trait kvproto::tikvpb::Tikv [−][src]
Required methods
fn kv_get(
&mut self,
ctx: RpcContext<'_>,
req: GetRequest,
sink: UnarySink<GetResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GetRequest,
sink: UnarySink<GetResponse>
)
fn kv_scan(
&mut self,
ctx: RpcContext<'_>,
req: ScanRequest,
sink: UnarySink<ScanResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ScanRequest,
sink: UnarySink<ScanResponse>
)
fn kv_prewrite(
&mut self,
ctx: RpcContext<'_>,
req: PrewriteRequest,
sink: UnarySink<PrewriteResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: PrewriteRequest,
sink: UnarySink<PrewriteResponse>
)
fn kv_pessimistic_lock(
&mut self,
ctx: RpcContext<'_>,
req: PessimisticLockRequest,
sink: UnarySink<PessimisticLockResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: PessimisticLockRequest,
sink: UnarySink<PessimisticLockResponse>
)
fn kv_pessimistic_rollback(
&mut self,
ctx: RpcContext<'_>,
req: PessimisticRollbackRequest,
sink: UnarySink<PessimisticRollbackResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: PessimisticRollbackRequest,
sink: UnarySink<PessimisticRollbackResponse>
)
fn kv_txn_heart_beat(
&mut self,
ctx: RpcContext<'_>,
req: TxnHeartBeatRequest,
sink: UnarySink<TxnHeartBeatResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: TxnHeartBeatRequest,
sink: UnarySink<TxnHeartBeatResponse>
)
fn kv_check_txn_status(
&mut self,
ctx: RpcContext<'_>,
req: CheckTxnStatusRequest,
sink: UnarySink<CheckTxnStatusResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CheckTxnStatusRequest,
sink: UnarySink<CheckTxnStatusResponse>
)
fn kv_check_secondary_locks(
&mut self,
ctx: RpcContext<'_>,
req: CheckSecondaryLocksRequest,
sink: UnarySink<CheckSecondaryLocksResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CheckSecondaryLocksRequest,
sink: UnarySink<CheckSecondaryLocksResponse>
)
fn kv_commit(
&mut self,
ctx: RpcContext<'_>,
req: CommitRequest,
sink: UnarySink<CommitResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CommitRequest,
sink: UnarySink<CommitResponse>
)
fn kv_import(
&mut self,
ctx: RpcContext<'_>,
req: ImportRequest,
sink: UnarySink<ImportResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ImportRequest,
sink: UnarySink<ImportResponse>
)
fn kv_cleanup(
&mut self,
ctx: RpcContext<'_>,
req: CleanupRequest,
sink: UnarySink<CleanupResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CleanupRequest,
sink: UnarySink<CleanupResponse>
)
fn kv_batch_get(
&mut self,
ctx: RpcContext<'_>,
req: BatchGetRequest,
sink: UnarySink<BatchGetResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: BatchGetRequest,
sink: UnarySink<BatchGetResponse>
)
fn kv_batch_rollback(
&mut self,
ctx: RpcContext<'_>,
req: BatchRollbackRequest,
sink: UnarySink<BatchRollbackResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: BatchRollbackRequest,
sink: UnarySink<BatchRollbackResponse>
)
fn kv_scan_lock(
&mut self,
ctx: RpcContext<'_>,
req: ScanLockRequest,
sink: UnarySink<ScanLockResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ScanLockRequest,
sink: UnarySink<ScanLockResponse>
)
fn kv_resolve_lock(
&mut self,
ctx: RpcContext<'_>,
req: ResolveLockRequest,
sink: UnarySink<ResolveLockResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ResolveLockRequest,
sink: UnarySink<ResolveLockResponse>
)
fn kv_gc(
&mut self,
ctx: RpcContext<'_>,
req: GcRequest,
sink: UnarySink<GcResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GcRequest,
sink: UnarySink<GcResponse>
)
fn kv_delete_range(
&mut self,
ctx: RpcContext<'_>,
req: DeleteRangeRequest,
sink: UnarySink<DeleteRangeResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: DeleteRangeRequest,
sink: UnarySink<DeleteRangeResponse>
)
fn raw_get(
&mut self,
ctx: RpcContext<'_>,
req: RawGetRequest,
sink: UnarySink<RawGetResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawGetRequest,
sink: UnarySink<RawGetResponse>
)
fn raw_batch_get(
&mut self,
ctx: RpcContext<'_>,
req: RawBatchGetRequest,
sink: UnarySink<RawBatchGetResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawBatchGetRequest,
sink: UnarySink<RawBatchGetResponse>
)
fn raw_put(
&mut self,
ctx: RpcContext<'_>,
req: RawPutRequest,
sink: UnarySink<RawPutResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawPutRequest,
sink: UnarySink<RawPutResponse>
)
fn raw_batch_put(
&mut self,
ctx: RpcContext<'_>,
req: RawBatchPutRequest,
sink: UnarySink<RawBatchPutResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawBatchPutRequest,
sink: UnarySink<RawBatchPutResponse>
)
fn raw_delete(
&mut self,
ctx: RpcContext<'_>,
req: RawDeleteRequest,
sink: UnarySink<RawDeleteResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawDeleteRequest,
sink: UnarySink<RawDeleteResponse>
)
fn raw_batch_delete(
&mut self,
ctx: RpcContext<'_>,
req: RawBatchDeleteRequest,
sink: UnarySink<RawBatchDeleteResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawBatchDeleteRequest,
sink: UnarySink<RawBatchDeleteResponse>
)
fn raw_scan(
&mut self,
ctx: RpcContext<'_>,
req: RawScanRequest,
sink: UnarySink<RawScanResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawScanRequest,
sink: UnarySink<RawScanResponse>
)
fn raw_delete_range(
&mut self,
ctx: RpcContext<'_>,
req: RawDeleteRangeRequest,
sink: UnarySink<RawDeleteRangeResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawDeleteRangeRequest,
sink: UnarySink<RawDeleteRangeResponse>
)
fn raw_batch_scan(
&mut self,
ctx: RpcContext<'_>,
req: RawBatchScanRequest,
sink: UnarySink<RawBatchScanResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawBatchScanRequest,
sink: UnarySink<RawBatchScanResponse>
)
fn raw_get_key_ttl(
&mut self,
ctx: RpcContext<'_>,
req: RawGetKeyTtlRequest,
sink: UnarySink<RawGetKeyTtlResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawGetKeyTtlRequest,
sink: UnarySink<RawGetKeyTtlResponse>
)
fn raw_compare_and_swap(
&mut self,
ctx: RpcContext<'_>,
req: RawCasRequest,
sink: UnarySink<RawCasResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawCasRequest,
sink: UnarySink<RawCasResponse>
)
fn unsafe_destroy_range(
&mut self,
ctx: RpcContext<'_>,
req: UnsafeDestroyRangeRequest,
sink: UnarySink<UnsafeDestroyRangeResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: UnsafeDestroyRangeRequest,
sink: UnarySink<UnsafeDestroyRangeResponse>
)
fn register_lock_observer(
&mut self,
ctx: RpcContext<'_>,
req: RegisterLockObserverRequest,
sink: UnarySink<RegisterLockObserverResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RegisterLockObserverRequest,
sink: UnarySink<RegisterLockObserverResponse>
)
fn check_lock_observer(
&mut self,
ctx: RpcContext<'_>,
req: CheckLockObserverRequest,
sink: UnarySink<CheckLockObserverResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CheckLockObserverRequest,
sink: UnarySink<CheckLockObserverResponse>
)
fn remove_lock_observer(
&mut self,
ctx: RpcContext<'_>,
req: RemoveLockObserverRequest,
sink: UnarySink<RemoveLockObserverResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RemoveLockObserverRequest,
sink: UnarySink<RemoveLockObserverResponse>
)
fn physical_scan_lock(
&mut self,
ctx: RpcContext<'_>,
req: PhysicalScanLockRequest,
sink: UnarySink<PhysicalScanLockResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: PhysicalScanLockRequest,
sink: UnarySink<PhysicalScanLockResponse>
)
fn coprocessor(
&mut self,
ctx: RpcContext<'_>,
req: Request,
sink: UnarySink<Response>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: Request,
sink: UnarySink<Response>
)
fn coprocessor_stream(
&mut self,
ctx: RpcContext<'_>,
req: Request,
sink: ServerStreamingSink<Response>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: Request,
sink: ServerStreamingSink<Response>
)
fn batch_coprocessor(
&mut self,
ctx: RpcContext<'_>,
req: BatchRequest,
sink: ServerStreamingSink<BatchResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: BatchRequest,
sink: ServerStreamingSink<BatchResponse>
)
fn raw_coprocessor(
&mut self,
ctx: RpcContext<'_>,
req: RawCoprocessorRequest,
sink: UnarySink<RawCoprocessorResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: RawCoprocessorRequest,
sink: UnarySink<RawCoprocessorResponse>
)
fn raft(
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<RaftMessage>,
sink: ClientStreamingSink<Done>
)
[src]
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<RaftMessage>,
sink: ClientStreamingSink<Done>
)
fn batch_raft(
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<BatchRaftMessage>,
sink: ClientStreamingSink<Done>
)
[src]
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<BatchRaftMessage>,
sink: ClientStreamingSink<Done>
)
fn snapshot(
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<SnapshotChunk>,
sink: ClientStreamingSink<Done>
)
[src]
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<SnapshotChunk>,
sink: ClientStreamingSink<Done>
)
fn split_region(
&mut self,
ctx: RpcContext<'_>,
req: SplitRegionRequest,
sink: UnarySink<SplitRegionResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: SplitRegionRequest,
sink: UnarySink<SplitRegionResponse>
)
fn read_index(
&mut self,
ctx: RpcContext<'_>,
req: ReadIndexRequest,
sink: UnarySink<ReadIndexResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: ReadIndexRequest,
sink: UnarySink<ReadIndexResponse>
)
fn mvcc_get_by_key(
&mut self,
ctx: RpcContext<'_>,
req: MvccGetByKeyRequest,
sink: UnarySink<MvccGetByKeyResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: MvccGetByKeyRequest,
sink: UnarySink<MvccGetByKeyResponse>
)
fn mvcc_get_by_start_ts(
&mut self,
ctx: RpcContext<'_>,
req: MvccGetByStartTsRequest,
sink: UnarySink<MvccGetByStartTsResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: MvccGetByStartTsRequest,
sink: UnarySink<MvccGetByStartTsResponse>
)
fn batch_commands(
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<BatchCommandsRequest>,
sink: DuplexSink<BatchCommandsResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
stream: RequestStream<BatchCommandsRequest>,
sink: DuplexSink<BatchCommandsResponse>
)
fn dispatch_mpp_task(
&mut self,
ctx: RpcContext<'_>,
req: DispatchTaskRequest,
sink: UnarySink<DispatchTaskResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: DispatchTaskRequest,
sink: UnarySink<DispatchTaskResponse>
)
fn cancel_mpp_task(
&mut self,
ctx: RpcContext<'_>,
req: CancelTaskRequest,
sink: UnarySink<CancelTaskResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CancelTaskRequest,
sink: UnarySink<CancelTaskResponse>
)
fn establish_mpp_connection(
&mut self,
ctx: RpcContext<'_>,
req: EstablishMppConnectionRequest,
sink: ServerStreamingSink<MppDataPacket>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: EstablishMppConnectionRequest,
sink: ServerStreamingSink<MppDataPacket>
)
fn check_leader(
&mut self,
ctx: RpcContext<'_>,
req: CheckLeaderRequest,
sink: UnarySink<CheckLeaderResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: CheckLeaderRequest,
sink: UnarySink<CheckLeaderResponse>
)
fn get_store_safe_ts(
&mut self,
ctx: RpcContext<'_>,
req: StoreSafeTsRequest,
sink: UnarySink<StoreSafeTsResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: StoreSafeTsRequest,
sink: UnarySink<StoreSafeTsResponse>
)
fn get_lock_wait_info(
&mut self,
ctx: RpcContext<'_>,
req: GetLockWaitInfoRequest,
sink: UnarySink<GetLockWaitInfoResponse>
)
[src]
&mut self,
ctx: RpcContext<'_>,
req: GetLockWaitInfoRequest,
sink: UnarySink<GetLockWaitInfoResponse>
)