pub enum FastAuth {
Succeeded,
FullAuthRequired,
}Expand description
What the server decided after seeing a caching_sha2_password response.
Variants§
Succeeded
The account was in the cache and the digest matched: authentication is finished, and an OK packet follows.
FullAuthRequired
The cache did not hold this account, so the server wants the password itself over a channel nobody can read.
Trait Implementations§
impl Copy for FastAuth
impl Eq for FastAuth
impl StructuralPartialEq for FastAuth
Auto Trait Implementations§
impl Freeze for FastAuth
impl RefUnwindSafe for FastAuth
impl Send for FastAuth
impl Sync for FastAuth
impl Unpin for FastAuth
impl UnsafeUnpin for FastAuth
impl UnwindSafe for FastAuth
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