pub struct GroupRebalancePlan {
pub adopt: Vec<RaftGroupId>,
pub retire: Vec<RaftGroupId>,
}Expand description
Local rebalance actions for one physical node (multi-Raft control plane).
Fields§
§adopt: Vec<RaftGroupId>Groups this node should begin hosting.
retire: Vec<RaftGroupId>Groups this node should stop hosting.
Trait Implementations§
Source§impl Clone for GroupRebalancePlan
impl Clone for GroupRebalancePlan
Source§fn clone(&self) -> GroupRebalancePlan
fn clone(&self) -> GroupRebalancePlan
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 GroupRebalancePlan
impl Debug for GroupRebalancePlan
Source§impl Default for GroupRebalancePlan
impl Default for GroupRebalancePlan
Source§fn default() -> GroupRebalancePlan
fn default() -> GroupRebalancePlan
Returns the “default value” for a type. Read more
impl Eq for GroupRebalancePlan
Source§impl PartialEq for GroupRebalancePlan
impl PartialEq for GroupRebalancePlan
impl StructuralPartialEq for GroupRebalancePlan
Auto Trait Implementations§
impl Freeze for GroupRebalancePlan
impl RefUnwindSafe for GroupRebalancePlan
impl Send for GroupRebalancePlan
impl Sync for GroupRebalancePlan
impl Unpin for GroupRebalancePlan
impl UnsafeUnpin for GroupRebalancePlan
impl UnwindSafe for GroupRebalancePlan
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