Module tikv_client::request::plan
source · Structs§
- A merge strategy which collects data from a response into a single type.
- A merge strategy which returns an error if any response is an error and otherwise returns a Vec of the results.
- 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.
- A merge strategy to be used with
preserve_shard
. It matches the shards preserved before and the values returned in the response. - The simplest plan which just dispatches a request to a specific kv server.
- When executed, the plan extracts errors from its inner plan, and returns an
Err
wrapping the error. - When executed, the plan clones the shard and execute its inner plan, then returns
(shard, response)
.
Traits§
- A technique for merging responses into a single result (with type
Out
). - A plan for how to execute a request. A user builds up a plan with various options, then exectutes it.
- Process data into another kind of data.