pub struct MigrationConfig {
pub batch_size: usize,
pub batch_bytes: usize,
pub key_timeout: Duration,
pub migration_timeout: Duration,
pub batch_delay: Duration,
}Expand description
Configuration for migration behavior.
Fields§
§batch_size: usizeMaximum keys per batch.
batch_bytes: usizeMaximum batch size in bytes.
key_timeout: DurationTimeout for individual key migration.
migration_timeout: DurationTimeout for entire migration.
batch_delay: DurationDelay between batches to avoid overwhelming the network.
Trait Implementations§
Source§impl Clone for MigrationConfig
impl Clone for MigrationConfig
Source§fn clone(&self) -> MigrationConfig
fn clone(&self) -> MigrationConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MigrationConfig
impl Debug for MigrationConfig
Auto Trait Implementations§
impl Freeze for MigrationConfig
impl RefUnwindSafe for MigrationConfig
impl Send for MigrationConfig
impl Sync for MigrationConfig
impl Unpin for MigrationConfig
impl UnsafeUnpin for MigrationConfig
impl UnwindSafe for MigrationConfig
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