Trait tikv_client_store::KvConnect[][src]

pub trait KvConnect: Sized + Send + Sync + 'static {
    type KvClient: KvClient + Clone + Send + Sync + 'static;
    fn connect(&self, address: &str) -> Result<Self::KvClient>;
}
Expand description

A trait for connecting to TiKV stores.

Associated Types

type KvClient: KvClient + Clone + Send + Sync + 'static[src]

Loading content...

Required methods

fn connect(&self, address: &str) -> Result<Self::KvClient>[src]

Loading content...

Implementors

impl KvConnect for TikvConnect[src]

type KvClient = KvRpcClient

fn connect(&self, address: &str) -> Result<KvRpcClient>[src]

Loading content...