pub trait Client {
// Required methods
fn get_options(&self) -> &ClientOptions;
fn get_kv_client(&self) -> impl KVClient;
}Expand description
Client defines the interface for interacting with the etcd server. It provides methods to access various service clients, such as the key-value client.
Required Methods§
fn get_options(&self) -> &ClientOptions
fn get_kv_client(&self) -> impl KVClient
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.