pub fn upgrade_tls_stream(&mut self, tls_parameters: &ClientTlsParameters) -> io::Result<()> {
        match self.stream {
            Some(ref mut stream) => stream.get_mut().upgrade_tls(tls_parameters),
            None => Ok(()),
        }
    }
/// Upgrades the underlying connection to SSL/TLS
Upgrades the underlying connection to SSL/TLS
Upgrades the underlying connection to SSL / TLS
pub fn upgrade_tls_stream(&mut self, tls_parameters: &ClientTlsParameters) -> io::Result<()> {
        match self.stream {
            Some(ref mut stream) => stream.get_mut().upgrade_tls(tls_parameters),
            None => Ok(()),
        }
    }
pub fn upgrade_tls_stream ( & mut self , tls_parameters : & ClientTlsParameters ) -> io :: Result < ( ) > { match self . stream { Some ( ref mut stream ) => stream . get_mut ( ) . upgrade_tls ( tls_parameters ) , None => Ok ( ( ) ) , } }
Upgrades the underlying connection to SSL/TLS
Upgrades the underlying connection to SSL / TLS
&mut self
tls_parameters
&ClientTlsParameters
&mut self
tls_parameters
&ClientTlsParameters