pub trait ServerQuicExt {
    // Provided method
    fn new_quic(
        config: Arc<ServerConfig>,
        quic_version: Version,
        params: Vec<u8>
    ) -> Result<ServerConnection, Error> { ... }
}
Expand description

Methods specific to QUIC server sessions

Provided Methods§

fn new_quic( config: Arc<ServerConfig>, quic_version: Version, params: Vec<u8> ) -> Result<ServerConnection, Error>

Make a new QUIC ServerConnection. This differs from ServerConnection::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§