pub struct ShardMigration {
pub source_shard: u32,
pub target_shard: u32,
pub progress: f64,
pub keys_migrated: usize,
pub total_keys: usize,
}Expand description
Shard migration manager
Fields§
§source_shard: u32Source shard ID
target_shard: u32Target shard ID
progress: f64Migration progress (0.0 to 1.0)
keys_migrated: usizeKeys migrated
total_keys: usizeTotal keys to migrate
Implementations§
Auto Trait Implementations§
impl Freeze for ShardMigration
impl RefUnwindSafe for ShardMigration
impl Send for ShardMigration
impl Sync for ShardMigration
impl Unpin for ShardMigration
impl UnwindSafe for ShardMigration
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