Enum mqtt::control::variable_header::connect_ret_code::ConnectReturnCode [] [src]

pub enum ConnectReturnCode {
    ConnectionAccepted,
    UnacceptableProtocolVersion,
    IdentifierRejected,
    ServiceUnavailable,
    BadUserNameOrPassword,
    NotAuthorized,
    Reserved(u8),
}

Variants

Methods

impl ConnectReturnCode
[src]

Trait Implementations

impl Debug for ConnectReturnCode
[src]

Formats the value using the given formatter.

impl Eq for ConnectReturnCode
[src]

impl PartialEq for ConnectReturnCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for ConnectReturnCode
[src]

impl Clone for ConnectReturnCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Encodable<'a> for ConnectReturnCode
[src]

impl<'a> Decodable<'a> for ConnectReturnCode
[src]