#[repr(u8)]pub enum AuthReasonCode {
Success = 0,
ContinueAuthentication = 24,
ReAuthenticate = 25,
}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 (const: unstable) · 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 Display for AuthReasonCode
impl Display for AuthReasonCode
Source§impl Format for AuthReasonCode
Available on crate feature defmt only.
impl Format for AuthReasonCode
Available on crate feature
defmt only.Source§impl From<AuthReasonCode> for ReasonCode
impl From<AuthReasonCode> for ReasonCode
Source§fn from(value: AuthReasonCode) -> Self
fn from(value: 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
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Read<'a> for AuthReasonCode
impl<'a> Read<'a> for AuthReasonCode
Source§impl TryFrom<ReasonCode> for AuthReasonCode
impl TryFrom<ReasonCode> for AuthReasonCode
Source§type Error = PacketReadError
type Error = PacketReadError
The type returned in the event of a conversion error.
Source§impl TryFrom<u8> for AuthReasonCode
impl TryFrom<u8> for AuthReasonCode
Source§impl Write for AuthReasonCode
impl Write for AuthReasonCode
impl Copy 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 UnsafeUnpin 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