Trait tokio_postgres::tls::TlsStream [] [src]

pub trait TlsStream: AsyncRead + AsyncWrite + Send {
    fn get_ref(&self) -> &Stream;
    fn get_mut(&mut self) -> &mut Stream;
}

A trait implemented by streams returned from Handshake implementations.

Required Methods

Returns a shared reference to the inner stream.

Returns a mutable reference to the inner stream.

Implementors