pub enum ConnectReturnCode {
Accepted,
RefusedProtocolVersion,
RefusedIdentifierRejected,
ServerUnavailable,
BadUsernamePassword,
NotAuthorized,
}
Expand description
Sucess value of a Connack packet.
See MQTT 3.2.2.3 for interpretations.
Variants
Accepted
RefusedProtocolVersion
RefusedIdentifierRejected
ServerUnavailable
BadUsernamePassword
NotAuthorized
Trait Implementations
sourceimpl Clone for ConnectReturnCode
impl Clone for ConnectReturnCode
sourcefn clone(&self) -> ConnectReturnCode
fn clone(&self) -> ConnectReturnCode
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 ConnectReturnCode
impl Debug for ConnectReturnCode
sourceimpl PartialEq<ConnectReturnCode> for ConnectReturnCode
impl PartialEq<ConnectReturnCode> for ConnectReturnCode
sourcefn eq(&self, other: &ConnectReturnCode) -> bool
fn eq(&self, other: &ConnectReturnCode) -> bool
impl Copy for ConnectReturnCode
impl StructuralPartialEq for ConnectReturnCode
Auto Trait Implementations
impl RefUnwindSafe for ConnectReturnCode
impl Send for ConnectReturnCode
impl Sync for ConnectReturnCode
impl Unpin for ConnectReturnCode
impl UnwindSafe for ConnectReturnCode
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