etcd-client 0.14.0

An etcd v3 API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(not(feature = "tls-openssl"))]
pub use tonic::transport::Channel;

#[cfg(feature = "tls-openssl")]
pub use self::openssl::Channel;

#[cfg(feature = "tls-openssl")]
mod openssl {
    use crate::openssl_tls;

    /// Because we cannot create `Channel` by the balanced, cached channels,
    /// we cannot create clients (which explicitly requires `Channel` as argument) directly.
    ///
    /// This type alias would be useful to 'batch replace' the signature of `Client::new`.
    pub type Channel = openssl_tls::OpenSslChannel;
}