pub enum Notification {
Publish(Publish),
Puback(PacketIdentifier),
Pubrec(PacketIdentifier),
Pubcomp(PacketIdentifier),
Suback(Suback),
Unsuback(PacketIdentifier),
Abort(EventLoopError),
}
Expand description
Includes incoming packets from the network and other interesting events happening in the eventloop
Variants§
Publish(Publish)
Incoming publish from the broker
Puback(PacketIdentifier)
Incoming puback from the broker
Pubrec(PacketIdentifier)
Incoming pubrec from the broker
Pubcomp(PacketIdentifier)
Incoming pubcomp from the broker
Suback(Suback)
Incoming suback from the broker
Unsuback(PacketIdentifier)
Incoming unsuback from the broker
Abort(EventLoopError)
Eventloop error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notification
impl !RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl !UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more