Trait quinn::crypto::ClientConfig [−][src]
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]
&self,
server_name: &str,
params: &TransportParameters
) -> Result<S, ConnectError>
Start a client session with this configuration
Implementations on Foreign Types
impl ClientConfig<TlsSession> for Arc<ClientConfig>
[src]
pub fn new() -> Arc<ClientConfig>
[src]
pub fn start_session(
&self,
server_name: &str,
params: &TransportParameters
) -> Result<TlsSession, ConnectError>
[src]
&self,
server_name: &str,
params: &TransportParameters
) -> Result<TlsSession, ConnectError>