pub struct GroupReplicationTarget {
pub voters: Vec<NodeId>,
pub learners: Vec<NodeId>,
}Expand description
Desired voters + learners for one group.
Fields§
§voters: Vec<NodeId>Joint-consensus voters.
learners: Vec<NodeId>Non-voting learners (catch-up replicas).
Trait Implementations§
Source§impl Clone for GroupReplicationTarget
impl Clone for GroupReplicationTarget
Source§fn clone(&self) -> GroupReplicationTarget
fn clone(&self) -> GroupReplicationTarget
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 GroupReplicationTarget
impl Debug for GroupReplicationTarget
impl Eq for GroupReplicationTarget
Source§impl PartialEq for GroupReplicationTarget
impl PartialEq for GroupReplicationTarget
impl StructuralPartialEq for GroupReplicationTarget
Auto Trait Implementations§
impl Freeze for GroupReplicationTarget
impl RefUnwindSafe for GroupReplicationTarget
impl Send for GroupReplicationTarget
impl Sync for GroupReplicationTarget
impl Unpin for GroupReplicationTarget
impl UnsafeUnpin for GroupReplicationTarget
impl UnwindSafe for GroupReplicationTarget
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