rcfe_core/client.rs
1use crate::{
2 kv::KVClient,
3 options::client::ClientOptions,
4};
5
6/// Client defines the interface for interacting with the etcd server.
7/// It provides methods to access various service clients, such as the key-value client.
8pub trait Client {
9 fn get_options(&self) -> &ClientOptions;
10 fn get_kv_client(&self) -> impl KVClient;
11}