pub struct ScramClient { /* private fields */ }Implementations§
Source§impl ScramClient
impl ScramClient
pub fn new(username: &str, password: &str) -> Self
pub fn client_first_message(&self) -> String
pub fn process_server_first_message(&mut self, message: &str) -> Result<()>
pub fn client_final_message(&mut self) -> Result<String>
pub fn verify_server_final(&self, message: &str) -> Result<()>
Auto Trait Implementations§
impl Freeze for ScramClient
impl RefUnwindSafe for ScramClient
impl Send for ScramClient
impl Sync for ScramClient
impl Unpin 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