tikv_client::request

Module plan

Source

Structs§

CleanupLocks
CleanupLocksResult
Collect
A merge strategy which collects data from a response into a single type.
CollectError
A merge strategy which returns an error if any response is an error and otherwise returns a Vec of the results.
CollectSingle
A merge strategy that only takes the first element. It’s used for requests that should have exactly one response, e.g. a get request.
CollectWithShard
A merge strategy to be used with preserve_shard. It matches the shards preserved before and the values returned in the response.
DefaultProcessor
Dispatch
The simplest plan which just dispatches a request to a specific kv server.
ExtractError
When executed, the plan extracts errors from its inner plan, and returns an Err wrapping the error.
MergeResponse
PreserveShard
When executed, the plan clones the shard and execute its inner plan, then returns (shard, response).
ProcessResponse
ResolveLock
ResponseWithShard
RetryableAllStores
RetryableMultiRegion

Traits§

Merge
A technique for merging responses into a single result (with type Out).
Plan
A plan for how to execute a request. A user builds up a plan with various options, then exectutes it.
Process
Process data into another kind of data.