Trait s2n_quic::provider::endpoint_limits::Provider

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

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

Required Associated Types§

source

type Limits: 'static + Limiter

source

type Error: Display + Send + Sync

Required Methods§

source

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

Starts the token provider

Implementors§

source§

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

§

type Limits = T

§

type Error = Infallible