#[allow(unused_imports)]
pub use s2n_quic_core::path::migration::{
default::{self, Validator as Default},
disabled, Attempt, Outcome, Validator,
};
pub trait Provider {
type Validator: 'static + Send + Validator;
type Error: 'static + core::fmt::Display + Send + Sync;
fn start(self) -> Result<Self::Validator, Self::Error>;
}
impl_provider_utils!();
impl<T: 'static + Send + Validator> Provider for T {
type Validator = T;
type Error = core::convert::Infallible;
fn start(self) -> Result<Self::Validator, Self::Error> {
Ok(self)
}
}