Struct postgres_protocol::authentication::sasl::ChannelBinding
source · pub struct ChannelBinding(/* private fields */);
Expand description
The channel binding configuration for a SCRAM authentication exchange.
Implementations§
source§impl ChannelBinding
impl ChannelBinding
sourcepub fn unrequested() -> ChannelBinding
pub fn unrequested() -> ChannelBinding
The server did not request channel binding.
sourcepub fn unsupported() -> ChannelBinding
pub fn unsupported() -> ChannelBinding
The server requested channel binding but the client is unable to provide it.
sourcepub fn tls_server_end_point(signature: Vec<u8>) -> ChannelBinding
pub fn tls_server_end_point(signature: Vec<u8>) -> ChannelBinding
The server requested channel binding and the client will use the tls-server-end-point
method.
Auto Trait Implementations§
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