pub struct EtcdConfig {
pub endpoints: Vec<String>,
pub directives_key: String,
}Expand description
etcd connection settings for the distributed directive store. Plain data (no etcd client types), so the config crate stays free of the etcd dependency.
Fields§
§endpoints: Vec<String>The etcd endpoints (host:port or full URLs), at least one.
directives_key: StringThe key the fleet directive set is published to and watched at.
Trait Implementations§
Source§impl Clone for EtcdConfig
impl Clone for EtcdConfig
Source§fn clone(&self) -> EtcdConfig
fn clone(&self) -> EtcdConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EtcdConfig
impl Debug for EtcdConfig
impl Eq for EtcdConfig
Source§impl PartialEq for EtcdConfig
impl PartialEq for EtcdConfig
Source§fn eq(&self, other: &EtcdConfig) -> bool
fn eq(&self, other: &EtcdConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EtcdConfig
Auto Trait Implementations§
impl Freeze for EtcdConfig
impl RefUnwindSafe for EtcdConfig
impl Send for EtcdConfig
impl Sync for EtcdConfig
impl Unpin for EtcdConfig
impl UnsafeUnpin for EtcdConfig
impl UnwindSafe for EtcdConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more