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

Incremental

Fields

joinings: T

Joining servers.

leavings: T

Leaving servers.

New

Fields

ensemble: T

New ensemble.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.