pub enum SessionEvent {
Ready,
Message {
target: Target,
message: Box<Message>,
},
Invalid {
target: Target,
error: WireError,
},
NoSubscribers {
packet_id: u16,
},
}Expand description
Events visible to the application. MQTT delivery is distinct from a CLS.EEDI ack.
Variants§
Ready
Message
Invalid
A bounded, authorized route had an invalid payload. The wire error can carry diagnostic context. The binding queues applicable negative acknowledgements.
NoSubscribers
The broker accepted the publication but found no matching subscriptions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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