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]
Self: Sized,
Construct the default configuration
fn start_session(&self, params: &TransportParameters) -> S[src]
Start a server session with this configuration
Implementations on Foreign Types
impl ServerConfig<TlsSession> for Arc<ServerConfig>[src]
impl ServerConfig<TlsSession> for Arc<ServerConfig>[src]