pub enum ConnectReturnCode {
Show 25 variants
Success,
RefusedProtocolVersion,
BadClientId,
ServiceUnavailable,
UnspecifiedError,
MalformedPacket,
ProtocolError,
ImplementationSpecificError,
UnsupportedProtocolVersion,
ClientIdentifierNotValid,
BadUserNamePassword,
NotAuthorized,
ServerUnavailable,
ServerBusy,
Banned,
BadAuthenticationMethod,
TopicNameInvalid,
PacketTooLarge,
QuotaExceeded,
PayloadFormatInvalid,
RetainNotSupported,
QoSNotSupported,
UseAnotherServer,
ServerMoved,
ConnectionRateExceeded,
}
Expand description
Return code in connack
Variants§
Success
RefusedProtocolVersion
BadClientId
UnspecifiedError
MalformedPacket
ProtocolError
ImplementationSpecificError
UnsupportedProtocolVersion
ClientIdentifierNotValid
BadUserNamePassword
NotAuthorized
ServerBusy
Banned
BadAuthenticationMethod
TopicNameInvalid
PacketTooLarge
QuotaExceeded
PayloadFormatInvalid
RetainNotSupported
QoSNotSupported
UseAnotherServer
ServerMoved
ConnectionRateExceeded
Trait Implementations§
Source§impl Clone for ConnectReturnCode
impl Clone for ConnectReturnCode
Source§fn clone(&self) -> ConnectReturnCode
fn clone(&self) -> ConnectReturnCode
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 ConnectReturnCode
impl Debug for ConnectReturnCode
Source§impl PartialEq for ConnectReturnCode
impl PartialEq for ConnectReturnCode
impl Copy for ConnectReturnCode
impl Eq for ConnectReturnCode
impl StructuralPartialEq for ConnectReturnCode
Auto Trait Implementations§
impl Freeze for ConnectReturnCode
impl RefUnwindSafe for ConnectReturnCode
impl Send for ConnectReturnCode
impl Sync for ConnectReturnCode
impl Unpin for ConnectReturnCode
impl UnwindSafe for ConnectReturnCode
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