Skip to main content

TlsStream

Trait TlsStream 

Source
pub trait TlsStream: AsyncRead + AsyncWrite {
    // Required method
    fn channel_binding(&self) -> ChannelBinding;
}
Expand description

A TLS-wrapped connection to a PostgreSQL database.

Required Methods§

Source

fn channel_binding(&self) -> ChannelBinding

Returns channel binding information for the session.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§