[][src]Trait quinn::crypto::ServerConfig

pub trait ServerConfig<S>: Clone + Send + Sync where
    S: Session
{ fn new() -> Self;
fn start_session(&self, params: &TransportParameters) -> S; }

Server-side configuration for the crypto protocol

Required methods

fn new() -> Self

Construct the default configuration

fn start_session(&self, params: &TransportParameters) -> S

Start a server session with this configuration

Loading content...

Implementations on Foreign Types

impl ServerConfig<TlsSession> for Arc<ServerConfig>[src]

Loading content...

Implementors

Loading content...