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
sourceimpl Debug for Notification
impl Debug for Notification
sourceimpl PartialEq<Notification> for Notification
impl PartialEq<Notification> for Notification
sourcefn eq(&self, other: &Notification) -> bool
fn eq(&self, other: &Notification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Notification) -> bool
fn ne(&self, other: &Notification) -> bool
This method tests for !=
.
impl StructuralPartialEq for Notification
Auto Trait Implementations
impl !RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl !UnwindSafe for Notification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more