Trait s2n_quic::provider::io::Provider

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

    // Required method
    fn start<E: Endpoint<PathHandle = Self::PathHandle>>(
        self,
        endpoint: E
    ) -> Result<SocketAddress, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn start<E: Endpoint<PathHandle = Self::PathHandle>>( self, endpoint: E ) -> Result<SocketAddress, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§