pub struct MigrationConfig {
pub probe_interval: Duration,
pub validation_timeout: Duration,
pub max_concurrent_probes: usize,
pub initial_delay: Duration,
pub max_attempts: u32,
pub auto_migrate: bool,
}Expand description
Configuration for connection migration
Fields§
§probe_interval: DurationTime to wait between migration attempts
validation_timeout: DurationMaximum time to wait for path validation
max_concurrent_probes: usizeMaximum concurrent path probes
initial_delay: DurationDelay before attempting migration after relay established
max_attempts: u32Maximum migration attempts before giving up
auto_migrate: boolWhether to automatically attempt migration
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 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