pub fn connect_with(
        &self,
        client_config: quinn::ClientConfig,
        addr: &SocketAddr,
        server_name: &str,
    ) -> Result<Connecting, quinn::ConnectError> {
        Ok(Connecting {
            settings: self.settings.clone(),
            connecting: self
                .endpoint
                .connect_with(client_config, addr, server_name)?,
        })
    }
/// Connect to a remote server endpoint with a specific QUIC config
///
/// This is useful when you want to tune QUIC settings for one connection. Note that
/// [`Builder::with_quic_config()`] enalbes such a configuration for all connections.
///
/// [`Builder::with_quic_config()`]: struct.Builder.html#method.with_quic_config
Connect to a remote server endpoint with a specific QUIC config
This is useful when you want to tune QUIC settings for one connection. Note that
[`Builder::with_quic_config()`] enalbes such a configuration for all connections.


Connect to a remote server endpoint with a specific QUIC config This is useful when you want to tune QUIC settings for one connection . Note that [ ` Builder :: with_quic_config () ` ] enalbes such a configuration for all connections .
pub fn connect_with(
        &self,
        client_config: quinn::ClientConfig,
        addr: &SocketAddr,
        server_name: &str,
    ) -> Result<Connecting, quinn::ConnectError> {
        Ok(Connecting {
            settings: self.settings.clone(),
            connecting: self
                .endpoint
                .connect_with(client_config, addr, server_name)?,
        })
    }
pub fn connect_with ( & self , client_config : quinn :: ClientConfig , addr : & SocketAddr , server_name : & str , ) -> Result < Connecting , quinn :: ConnectError > { Ok ( Connecting { settings : self . settings . clone ( ) , connecting : self . endpoint . connect_with ( client_config , addr , server_name ) ? , } ) }
Connect to a remote server endpoint with a specific QUIC config
This is useful when you want to tune QUIC settings for one connection.
Connect to a remote server endpoint with a specific QUIC config This is useful when you want to tune QUIC settings for one connection .
&self
client_config
quinn::ClientConfig
addr
&SocketAddr
server_name
&str