pub struct ScramType {
pub scram_name: &'static str,
pub scram_alias: ScramTypeAlias,
pub scram_chan_bind: bool,
}
Expand description
A structured data about supported mechanisms
Fields§
§scram_name: &'static str
Scram type encoded as in RFC without trailing \r\n or \n
scram_alias: ScramTypeAlias
§scram_chan_bind: bool
Is channel binding supported (-PLUS)
Trait Implementations§
Source§impl PartialEq<ScramTypeAlias> for ScramType
impl PartialEq<ScramTypeAlias> for ScramType
impl Copy for ScramType
impl Eq for ScramType
impl StructuralPartialEq for ScramType
Auto Trait Implementations§
impl Freeze for ScramType
impl RefUnwindSafe for ScramType
impl Send for ScramType
impl Sync for ScramType
impl Unpin for ScramType
impl UnwindSafe for ScramType
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