Enum mqttrust_core::Notification
source · [−]pub enum Notification {
ConnAck,
Publish(Box<BoxedPublish, Init>),
Puback(Pid),
Pubrec(Pid),
Pubcomp(Pid),
Suback(Pid),
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
Publish(Box<BoxedPublish, Init>)
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(Pid)
Incoming suback from the broker
Unsuback(Pid)
Incoming unsuback from the broker
Abort(EventError)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.