Enum ntex_mqtt::v5::codec::AuthReasonCode
source · #[repr(u8)]
pub enum AuthReasonCode {
Success,
ContinueAuth,
ReAuth,
}
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<AuthReasonCode> for AuthReasonCode
impl PartialEq<AuthReasonCode> 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 ==
.