Struct etcd::ClientOptions [] [src]

pub struct ClientOptions {
    pub ca: Option<String>,
    pub cert_and_key: Option<(String, String)>,
    pub username_and_password: Option<(String, String)>,
}

Options for configuring the behavior of a Client.

Fields

ca

File path to the PEM-encoded CA certificate to use. Useful if the server's certificate is signed by a private CA.

cert_and_key

File paths to the PEM-encoded client certificate and private key to use. Used to enable client certificate authentication with the etcd server.

username_and_password

The username and password to use for authentication.

Trait Implementations

Derived Implementations

impl Default for ClientOptions

fn default() -> ClientOptions

impl Debug for ClientOptions

fn fmt(&self, __arg_0: &mut Formatter) -> Result