[][src]Enum rumqttc::Incoming

pub enum Incoming {
    Connected,
    Publish(Publish),
    Puback(PubAck),
    Pubrec(PubRec),
    Pubcomp(PubComp),
    Suback(SubAck),
    Unsuback(UnsubAck),
    PingResp,
}

Includes incoming packets from the network and other interesting events happening in the eventloop

Variants

Connected

Connection successful

Publish(Publish)

Incoming publish from the broker

Puback(PubAck)

Incoming puback from the broker

Pubrec(PubRec)

Incoming pubrec from the broker

Pubcomp(PubComp)

Incoming pubcomp from the broker

Suback(SubAck)

Incoming suback from the broker

Unsuback(UnsubAck)

Incoming unsuback from the broker

PingResp

Ping response

Trait Implementations

impl Debug for Incoming[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, 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.