Struct tokio_postgres::tls::ChannelBinding
source · pub struct ChannelBinding { /* private fields */ }
Expand description
Channel binding information returned from a TLS handshake.
Implementations§
source§impl ChannelBinding
impl ChannelBinding
sourcepub fn none() -> ChannelBinding
pub fn none() -> ChannelBinding
Creates a ChannelBinding
containing no information.
sourcepub fn tls_server_end_point(tls_server_end_point: Vec<u8>) -> ChannelBinding
pub fn tls_server_end_point(tls_server_end_point: Vec<u8>) -> ChannelBinding
Creates a ChannelBinding
containing tls-server-end-point
channel binding information.