Trait s2n_quic::provider::event::Provider

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

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

Provides event handling support for an endpoint

Required Associated Types§

source

type Subscriber: 'static + Subscriber

source

type Error: 'static + Display + Send + Sync

Required Methods§

source

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

Implementors§