Enum ntex_mqtt::v5::codec::AuthReasonCode
source · #[repr(u8)]
pub enum AuthReasonCode {
Success,
ContinueAuth,
ReAuth,
}
Expand description
AUTH reason codes
Variants
Success
ContinueAuth
ReAuth
Trait Implementations
sourceimpl Clone for AuthReasonCode
impl Clone for AuthReasonCode
sourcefn clone(&self) -> AuthReasonCode
fn clone(&self) -> AuthReasonCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AuthReasonCode
impl Debug for AuthReasonCode
sourceimpl From<AuthReasonCode> for u8
impl From<AuthReasonCode> for u8
sourcefn from(v: AuthReasonCode) -> Self
fn from(v: AuthReasonCode) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<AuthReasonCode> for AuthReasonCode
impl PartialEq<AuthReasonCode> for AuthReasonCode
sourcefn eq(&self, other: &AuthReasonCode) -> bool
fn eq(&self, other: &AuthReasonCode) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more