Enum zookeeper_client::EnsembleUpdate
source · pub enum EnsembleUpdate<'a, T: Iterator<Item = &'a str> + Clone> {
Incremental {
joinings: T,
leavings: T,
},
New {
ensemble: T,
},
}
Expand description
EnsembleUpdate specifies an update to ZooKeeper ensemble membership.
The item could be single server or comma separated server list.
Variants§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for EnsembleUpdate<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for EnsembleUpdate<'a, T>where T: Send,
impl<'a, T> Sync for EnsembleUpdate<'a, T>where T: Sync,
impl<'a, T> Unpin for EnsembleUpdate<'a, T>where T: Unpin,
impl<'a, T> UnwindSafe for EnsembleUpdate<'a, T>where T: UnwindSafe,
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