Enum ntex_mqtt::v5::codec::AuthReasonCode
source · #[repr(u8)]pub enum AuthReasonCode {
Success = 0,
ContinueAuth = 24,
ReAuth = 25,
}
Expand description
AUTH reason codes
Variants§
Trait Implementations§
source§impl Clone for AuthReasonCode
impl Clone for AuthReasonCode
source§fn clone(&self) -> AuthReasonCode
fn clone(&self) -> AuthReasonCode
Returns a copy 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 From<AuthReasonCode> for u8
impl From<AuthReasonCode> for u8
source§fn from(v: AuthReasonCode) -> Self
fn from(v: AuthReasonCode) -> Self
Converts to this type from the input type.
source§impl PartialEq for AuthReasonCode
impl PartialEq for AuthReasonCode
source§fn eq(&self, other: &AuthReasonCode) -> bool
fn eq(&self, other: &AuthReasonCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for AuthReasonCode
impl TryFrom<u8> for AuthReasonCode
impl Copy for AuthReasonCode
impl Eq for AuthReasonCode
impl StructuralEq for AuthReasonCode
impl StructuralPartialEq for AuthReasonCode
Auto Trait Implementations§
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