Struct etcd_client::ConnectOptions [−][src]
pub struct ConnectOptions { /* fields omitted */ }
Options for Connect
operation.
Implementations
impl ConnectOptions
[src]
impl ConnectOptions
[src]pub fn with_user(
self,
name: impl Into<String>,
password: impl Into<String>
) -> Self
[src]
self,
name: impl Into<String>,
password: impl Into<String>
) -> Self
name is the identifier for the distributed shared lock to be acquired.
pub fn with_tls(self, tls: TlsOptions) -> Self
[src]
This is supported on crate feature
tls
only.Sets TLS options.
Notes that this function have to work with HTTPS
URLs.
pub const fn new() -> Self
[src]
Creates a ConnectOptions
.
Trait Implementations
impl Clone for ConnectOptions
[src]
impl Clone for ConnectOptions
[src]fn clone(&self) -> ConnectOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ConnectOptions
[src]
impl Default for ConnectOptions
[src]fn default() -> ConnectOptions
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConnectOptions
impl !RefUnwindSafe for ConnectOptions
impl Send for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl Unpin for ConnectOptions
impl !UnwindSafe for ConnectOptions
impl !UnwindSafe for ConnectOptions
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,