Trait quinn_proto::crypto::ClientConfig
source · [−]pub trait ClientConfig: Send + Sync {
fn start_session(
self: Arc<Self>,
version: u32,
server_name: &str,
params: &TransportParameters
) -> Result<Box<dyn Session>, ConnectError>;
}
Expand description
Client-side configuration for the crypto protocol
Required Methods
fn start_session(
self: Arc<Self>,
version: u32,
server_name: &str,
params: &TransportParameters
) -> Result<Box<dyn Session>, ConnectError>
fn start_session(
self: Arc<Self>,
version: u32,
server_name: &str,
params: &TransportParameters
) -> Result<Box<dyn Session>, ConnectError>
Start a client session with this configuration