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
fn get_ref(&self) -> &Stream
Returns a shared reference to the inner stream.
fn get_mut(&mut self) -> &mut Stream
Returns a mutable reference to the inner stream.
Implementors
impl TlsStream for Stream