Struct 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.
Auto Trait Implementations§
impl Freeze for ChannelBinding
impl RefUnwindSafe for ChannelBinding
impl Send for ChannelBinding
impl Sync for ChannelBinding
impl Unpin for ChannelBinding
impl UnwindSafe for ChannelBinding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more