pub struct StableShardActivationPlan {
pub from: u32,
pub to: u32,
pub newly_active: Vec<ShardId>,
}Expand description
Plan for activating more virtual shards without remapping existing keys.
Fields§
§from: u32Previous active virtual shard count.
to: u32New active virtual shard count.
newly_active: Vec<ShardId>Virtual shard ids entering the active range [from, to).
Trait Implementations§
Source§impl Clone for StableShardActivationPlan
impl Clone for StableShardActivationPlan
Source§fn clone(&self) -> StableShardActivationPlan
fn clone(&self) -> StableShardActivationPlan
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 StableShardActivationPlan
impl Debug for StableShardActivationPlan
impl Eq for StableShardActivationPlan
impl StructuralPartialEq for StableShardActivationPlan
Auto Trait Implementations§
impl Freeze for StableShardActivationPlan
impl RefUnwindSafe for StableShardActivationPlan
impl Send for StableShardActivationPlan
impl Sync for StableShardActivationPlan
impl Unpin for StableShardActivationPlan
impl UnsafeUnpin for StableShardActivationPlan
impl UnwindSafe for StableShardActivationPlan
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