#[repr(u8)]pub enum AuthReasonCode {
Success = 0,
ContinueAuthentication = 24,
ReAuthentication = 25,
}
Expand description
Reason code for AUTH packet.
Dec | Hex | Reason Code name | Sent by | Description |
---|---|---|---|---|
0 | 0x00 | Success | Server | Authentication is successful |
24 | 0x18 | Continue authentication | Client/Server | Continue the authentication with another step |
25 | 0x19 | Re-authenticate | Client | Initiate a re-authentication |
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AuthReasonCode
impl Clone for AuthReasonCode
Source§fn clone(&self) -> AuthReasonCode
fn clone(&self) -> AuthReasonCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthReasonCode
impl Debug for AuthReasonCode
Source§impl Hash for AuthReasonCode
impl Hash for AuthReasonCode
Source§impl PartialEq for AuthReasonCode
impl PartialEq for AuthReasonCode
impl Copy for AuthReasonCode
impl Eq for AuthReasonCode
impl StructuralPartialEq for AuthReasonCode
Auto Trait Implementations§
impl Freeze for AuthReasonCode
impl RefUnwindSafe for AuthReasonCode
impl Send for AuthReasonCode
impl Sync for AuthReasonCode
impl Unpin for AuthReasonCode
impl UnwindSafe for AuthReasonCode
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