Trait s2n_quic::provider::connection_id::Provider

source ·
pub trait Provider: 'static {
    type Format: 'static + Format;
    type Error: Display + Send + Sync;

    // Required method
    fn start(self) -> Result<Self::Format, Self::Error>;
}

Required Associated Types§

source

type Format: 'static + Format

source

type Error: Display + Send + Sync

Required Methods§

source

fn start(self) -> Result<Self::Format, Self::Error>

Implementors§

source§

impl Provider for Provider

source§

impl<T: 'static + Format> Provider for T

§

type Format = T

§

type Error = Infallible