pub enum ScramChannelBindingMode {
Disable,
Prefer,
Require,
}Expand description
SCRAM channel-binding policy during SASL negotiation.
Variants§
Disable
Do not use SCRAM-SHA-256-PLUS even when available.
Prefer
Prefer SCRAM-SHA-256-PLUS, fallback to plain SCRAM if needed.
Require
Require SCRAM-SHA-256-PLUS and fail otherwise.
Implementations§
Trait Implementations§
Source§impl Clone for ScramChannelBindingMode
impl Clone for ScramChannelBindingMode
Source§fn clone(&self) -> ScramChannelBindingMode
fn clone(&self) -> ScramChannelBindingMode
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 moreSource§impl Debug for ScramChannelBindingMode
impl Debug for ScramChannelBindingMode
Source§impl Default for ScramChannelBindingMode
impl Default for ScramChannelBindingMode
Source§fn default() -> ScramChannelBindingMode
fn default() -> ScramChannelBindingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScramChannelBindingMode
impl PartialEq for ScramChannelBindingMode
impl Copy for ScramChannelBindingMode
impl Eq for ScramChannelBindingMode
impl StructuralPartialEq for ScramChannelBindingMode
Auto Trait Implementations§
impl Freeze for ScramChannelBindingMode
impl RefUnwindSafe for ScramChannelBindingMode
impl Send for ScramChannelBindingMode
impl Sync for ScramChannelBindingMode
impl Unpin for ScramChannelBindingMode
impl UnsafeUnpin for ScramChannelBindingMode
impl UnwindSafe for ScramChannelBindingMode
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