tikv_client::request

Trait KvRequest

Source
pub trait KvRequest:
    Request
    + Sized
    + Clone
    + Sync
    + Send
    + 'static {
    type Response: HasKeyErrors + HasLocks + Clone + Send + 'static;
}
Expand description

Abstracts any request sent to a TiKV server.

Required Associated Types§

Source

type Response: HasKeyErrors + HasLocks + Clone + Send + 'static

The expected response to the request.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§