pub enum ChannelBinding {
None,
TlsServerEndPoint(Vec<u8>),
}Expand description
Channel binding type for SCRAM authentication
Variants§
None
No channel binding
TlsServerEndPoint(Vec<u8>)
tls-server-end-point: SHA-256 hash of the server’s DER-encoded certificate
Trait Implementations§
Source§impl Clone for ChannelBinding
impl Clone for ChannelBinding
Source§fn clone(&self) -> ChannelBinding
fn clone(&self) -> ChannelBinding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChannelBinding
impl RefUnwindSafe for ChannelBinding
impl Send for ChannelBinding
impl Sync for ChannelBinding
impl Unpin for ChannelBinding
impl UnsafeUnpin 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