Trait tikv::server::resolve::StoreAddrResolver[][src]

pub trait StoreAddrResolver: Send + Clone {
    fn resolve(&self, store_id: u64, cb: Callback) -> Result<()>;
}

A trait for resolving store addresses.

Required methods

fn resolve(&self, store_id: u64, cb: Callback) -> Result<()>[src]

Resolves the address for the specified store id asynchronously.

Loading content...

Implementors

impl StoreAddrResolver for PdStoreAddrResolver[src]

Loading content...