Trait quinn::crypto::ClientConfig[][src]

pub trait ClientConfig<S>: Clone where
    S: Session
{ pub fn new() -> Self;
pub fn start_session(
        &self,
        server_name: &str,
        params: &TransportParameters
    ) -> Result<S, ConnectError>; }

Client-side configuration for the crypto protocol

Required methods

pub fn new() -> Self[src]

Construct the default configuration

pub fn start_session(
    &self,
    server_name: &str,
    params: &TransportParameters
) -> Result<S, ConnectError>
[src]

Start a client session with this configuration

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...