#[repr(u32)]pub enum mqtt311_connack_codes {
CONNACK_ACCEPTED = 0,
CONNACK_REFUSED_PROTOCOL_VERSION = 1,
CONNACK_REFUSED_IDENTIFIER_REJECTED = 2,
CONNACK_REFUSED_SERVER_UNAVAILABLE = 3,
CONNACK_REFUSED_BAD_USERNAME_PASSWORD = 4,
CONNACK_REFUSED_NOT_AUTHORIZED = 5,
}Variants§
CONNACK_ACCEPTED = 0
CONNACK_REFUSED_PROTOCOL_VERSION = 1
CONNACK_REFUSED_IDENTIFIER_REJECTED = 2
CONNACK_REFUSED_SERVER_UNAVAILABLE = 3
CONNACK_REFUSED_BAD_USERNAME_PASSWORD = 4
CONNACK_REFUSED_NOT_AUTHORIZED = 5
Trait Implementations§
Source§impl Clone for mqtt311_connack_codes
impl Clone for mqtt311_connack_codes
Source§fn clone(&self) -> mqtt311_connack_codes
fn clone(&self) -> mqtt311_connack_codes
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 mqtt311_connack_codes
impl Debug for mqtt311_connack_codes
Source§impl Hash for mqtt311_connack_codes
impl Hash for mqtt311_connack_codes
Source§impl PartialEq for mqtt311_connack_codes
impl PartialEq for mqtt311_connack_codes
impl Copy for mqtt311_connack_codes
impl Eq for mqtt311_connack_codes
impl StructuralPartialEq for mqtt311_connack_codes
Auto Trait Implementations§
impl Freeze for mqtt311_connack_codes
impl RefUnwindSafe for mqtt311_connack_codes
impl Send for mqtt311_connack_codes
impl Sync for mqtt311_connack_codes
impl Unpin for mqtt311_connack_codes
impl UnwindSafe for mqtt311_connack_codes
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