Trait quinn_proto::crypto::ServerConfig[][src]

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

Server-side configuration for the crypto protocol

Required methods

fn new() -> Self where
    Self: Sized
[src]

Construct the default configuration

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