pub trait ClientQuicExt {
    // Provided method
    fn new_quic(
        config: Arc<ClientConfig>,
        quic_version: Version,
        name: ServerName,
        params: Vec<u8>
    ) -> Result<ClientConnection, Error> { ... }
}
Expand description

Methods specific to QUIC client sessions

Provided Methods§

fn new_quic( config: Arc<ClientConfig>, quic_version: Version, name: ServerName, params: Vec<u8> ) -> Result<ClientConnection, Error>

Make a new QUIC ClientConnection. This differs from ClientConnection::new() in that it takes an extra argument, params, which contains the TLS-encoded transport parameters to send.

Object Safety§

This trait is not object safe.

Implementors§