Enum mqttrust_core::Notification[][src]

pub enum Notification {
    ConnAck,
    Publish(PublishNotification),
    Puback(Pid),
    Pubrec(Pid),
    Pubcomp(Pid),
    Suback(Suback),
    Unsuback(Pid),
    Abort(EventError),
}
Expand description

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

Variants

ConnAck

Incoming connection acknowledge

Incoming publish from the broker

Puback(Pid)

Incoming puback from the broker

Pubrec(Pid)

Incoming pubrec from the broker

Pubcomp(Pid)

Incoming pubcomp from the broker

Suback(Suback)

Incoming suback from the broker

Unsuback(Pid)

Incoming unsuback from the broker

Abort(EventError)

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.