pub(crate) fn new(
        client: KvClient,
        watch_client: WatchClient,
        cache_size: usize,
        cache_enable: bool,
    ) -> Self {
        Self {
            inner: Arc::new(Lazy::new(move || {
                KvInner::new(client.clone(), &watch_client, cache_size, cache_enable)
            })),
        }
    }
/// Creates a new `KvClient`.
///
/// This method should only be called within etcd client.
Creates a new `KvClient`.
This method should only be called within etcd client.
Creates a new ` KvClient ` . This method should only be called within etcd client .
pub(crate) fn new(
        client: KvClient,
        watch_client: WatchClient,
        cache_size: usize,
        cache_enable: bool,
    ) -> Self {
        Self {
            inner: Arc::new(Lazy::new(move || {
                KvInner::new(client.clone(), &watch_client, cache_size, cache_enable)
            })),
        }
    }
pub ( crate ) fn new ( client : KvClient , watch_client : WatchClient , cache_size : usize , cache_enable : bool , ) -> Self { Self { inner : Arc :: new ( Lazy :: new ( move | | { KvInner :: new ( client . clone ( ) , & watch_client , cache_size , cache_enable ) } ) ) , } }
Creates a new `KvClient`.
Creates a new ` KvClient ` .
client
KvClient
watch_client
WatchClient
cache_size
usize
cache_enable
bool