#[non_exhaustive]pub enum AuthPhase {
Connect,
Write,
Read,
}Expand description
Phase discriminator for AuthError::Timeout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Connect
TCP connect to the auth server.
Write
Writing the 56-byte auth request packet.
Read
Reading the framed host list response.
Trait Implementations§
impl Copy for AuthPhase
impl Eq for AuthPhase
impl StructuralPartialEq for AuthPhase
Auto Trait Implementations§
impl Freeze for AuthPhase
impl RefUnwindSafe for AuthPhase
impl Send for AuthPhase
impl Sync for AuthPhase
impl Unpin for AuthPhase
impl UnwindSafe for AuthPhase
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