pub trait Validator: 'static + Send {
fn on_migration_attempt(&mut self, attempt: &Attempt<'_>) -> Outcome;
}
Expand description
Validates a path migration attempt from an active path to another
Required methods
fn on_migration_attempt(&mut self, attempt: &Attempt<'_>) -> Outcome
fn on_migration_attempt(&mut self, attempt: &Attempt<'_>) -> Outcome
Called on each connection migration attempt for a connection