pub struct ShardCountExpansionPlan {
pub from: u32,
pub to: u32,
pub new_shard_ids: Vec<ShardId>,
}Expand description
Plan for expanding the active shard keyspace (Tier 1).
Fields§
§from: u32Previous active shard count.
to: u32New active shard count.
new_shard_ids: Vec<ShardId>Shard ids entering the active range [from, to).
Trait Implementations§
Source§impl Clone for ShardCountExpansionPlan
impl Clone for ShardCountExpansionPlan
Source§fn clone(&self) -> ShardCountExpansionPlan
fn clone(&self) -> ShardCountExpansionPlan
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 ShardCountExpansionPlan
impl Debug for ShardCountExpansionPlan
impl Eq for ShardCountExpansionPlan
Source§impl PartialEq for ShardCountExpansionPlan
impl PartialEq for ShardCountExpansionPlan
impl StructuralPartialEq for ShardCountExpansionPlan
Auto Trait Implementations§
impl Freeze for ShardCountExpansionPlan
impl RefUnwindSafe for ShardCountExpansionPlan
impl Send for ShardCountExpansionPlan
impl Sync for ShardCountExpansionPlan
impl Unpin for ShardCountExpansionPlan
impl UnsafeUnpin for ShardCountExpansionPlan
impl UnwindSafe for ShardCountExpansionPlan
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