pub enum CoordinatorVariant {
SimpleTcpConfig {
tcp_address: String,
kv: Option<HashMap<String, String>>,
},
SimpleUdpConfig {
udp_address: String,
kv: Option<HashMap<String, String>>,
},
}Expand description
All of the coordinator config variants
Variants§
Trait Implementations§
Source§impl Clone for CoordinatorVariant
impl Clone for CoordinatorVariant
Source§fn clone(&self) -> CoordinatorVariant
fn clone(&self) -> CoordinatorVariant
Returns a duplicate of the value. Read more
1.0.0 · 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 CoordinatorVariant
impl Debug for CoordinatorVariant
Source§impl<'de> Deserialize<'de> for CoordinatorVariant
impl<'de> Deserialize<'de> for CoordinatorVariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoordinatorVariant
impl RefUnwindSafe for CoordinatorVariant
impl Send for CoordinatorVariant
impl Sync for CoordinatorVariant
impl Unpin for CoordinatorVariant
impl UnwindSafe for CoordinatorVariant
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