pub struct ScramClient { /* private fields */ }Expand description
SCRAM-SHA-256 client implementation.
Implementations§
Source§impl ScramClient
impl ScramClient
Sourcepub fn new_with_channel_binding(
password: &str,
channel_binding_data: &[u8],
) -> Self
pub fn new_with_channel_binding( password: &str, channel_binding_data: &[u8], ) -> Self
Create a new SCRAM client with channel binding.
Sourcepub fn client_first_message(&self) -> String
pub fn client_first_message(&self) -> String
Generate the client-first-message.
Auto Trait Implementations§
impl Freeze for ScramClient
impl RefUnwindSafe for ScramClient
impl Send for ScramClient
impl Sync for ScramClient
impl Unpin for ScramClient
impl UnsafeUnpin for ScramClient
impl UnwindSafe for ScramClient
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