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

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

Server-side configuration for the crypto protocol

Required methods

pub fn new() -> Self[src]

Construct the default configuration

pub fn start_session(&self, params: &TransportParameters) -> S[src]

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...