#[repr(u8)]
pub enum ConnectAckReason {
Show 22 variants
Success,
UnspecifiedError,
MalformedPacket,
ProtocolError,
ImplementationSpecificError,
UnsupportedProtocolVersion,
ClientIdentifierNotValid,
BadUserNameOrPassword,
NotAuthorized,
ServerUnavailable,
ServerBusy,
Banned,
BadAuthenticationMethod,
TopicNameInvalid,
PacketTooLarge,
QuotaExceeded,
PayloadFormatInvalid,
RetainNotSupported,
QosNotSupported,
UseAnotherServer,
ServerMoved,
ConnectionRateExceeded,
}
Expand description
CONNACK reason codes
Variants
Success
UnspecifiedError
MalformedPacket
ProtocolError
ImplementationSpecificError
UnsupportedProtocolVersion
ClientIdentifierNotValid
BadUserNameOrPassword
NotAuthorized
ServerUnavailable
ServerBusy
Banned
BadAuthenticationMethod
TopicNameInvalid
PacketTooLarge
QuotaExceeded
PayloadFormatInvalid
RetainNotSupported
QosNotSupported
UseAnotherServer
ServerMoved
ConnectionRateExceeded
Implementations
Trait Implementations
sourceimpl Clone for ConnectAckReason
impl Clone for ConnectAckReason
sourcefn clone(&self) -> ConnectAckReason
fn clone(&self) -> ConnectAckReason
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 ConnectAckReason
impl Debug for ConnectAckReason
sourceimpl From<ConnectAckReason> for u8
impl From<ConnectAckReason> for u8
sourcefn from(v: ConnectAckReason) -> Self
fn from(v: ConnectAckReason) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ConnectAckReason> for ConnectAckReason
impl PartialEq<ConnectAckReason> for ConnectAckReason
sourcefn eq(&self, other: &ConnectAckReason) -> bool
fn eq(&self, other: &ConnectAckReason) -> bool
sourceimpl TryFrom<u8> for ConnectAckReason
impl TryFrom<u8> for ConnectAckReason
impl Copy for ConnectAckReason
impl Eq for ConnectAckReason
impl StructuralEq for ConnectAckReason
impl StructuralPartialEq for ConnectAckReason
Auto Trait Implementations
impl RefUnwindSafe for ConnectAckReason
impl Send for ConnectAckReason
impl Sync for ConnectAckReason
impl Unpin for ConnectAckReason
impl UnwindSafe for ConnectAckReason
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