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§
Sourcefn new_quic(
config: Arc<ClientConfig>,
quic_version: Version,
name: ServerName,
params: Vec<u8>,
) -> Result<ClientConnection, Error>
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.