[][src]Enum mqtt::control::packet_type::ControlType

#[repr(u8)]
pub enum ControlType {
    Connect,
    ConnectAcknowledgement,
    Publish,
    PublishAcknowledgement,
    PublishReceived,
    PublishRelease,
    PublishComplete,
    Subscribe,
    SubscribeAcknowledgement,
    Unsubscribe,
    UnsubscribeAcknowledgement,
    PingRequest,
    PingResponse,
    Disconnect,
}

Defined control types

Variants

Connect

Client request to connect to Server

ConnectAcknowledgement

Connect acknowledgment

Publish

Publish message

PublishAcknowledgement

Publish acknowledgment

PublishReceived

Publish received (assured delivery part 1)

PublishRelease

Publish release (assured delivery part 2)

PublishComplete

Publish complete (assured delivery part 3)

Subscribe

Client subscribe request

SubscribeAcknowledgement

Subscribe acknowledgment

Unsubscribe

Unsubscribe request

UnsubscribeAcknowledgement

Unsubscribe acknowledgment

PingRequest

PING request

PingResponse

PING response

Disconnect

Client is disconnecting

Trait Implementations

impl Clone for ControlType[src]

impl Copy for ControlType[src]

impl Debug for ControlType[src]

impl Eq for ControlType[src]

impl PartialEq<ControlType> for ControlType[src]

impl StructuralEq for ControlType[src]

impl StructuralPartialEq for ControlType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.