pub async fn dial<C>( endpoint: &Endpoint, config: ClientTlsConfig, codec: C, ) -> Result<TlsConn<C>>where C: Codec + Clone,
Connects to the given TLS address and port.