pub enum Outgoing {
Publish(u16),
Subscribe(u16),
Unsubscribe(u16),
PubAck(u16),
PubRec(u16),
PubRel(u16),
PubComp(u16),
PingReq,
PingResp,
Disconnect,
AwaitAck(u16),
}
Expand description
Current outgoing activity on the eventloop
Variants§
Publish(u16)
Publish packet with packet identifier. 0 implies QoS 0
Subscribe(u16)
Subscribe packet with packet identifier
Unsubscribe(u16)
Unsubscribe packet with packet identifier
PubAck(u16)
PubAck packet
PubRec(u16)
PubRec packet
PubRel(u16)
PubRel packet
PubComp(u16)
PubComp packet
PingReq
Ping request packet
PingResp
Ping response packet
Disconnect
Disconnect packet
AwaitAck(u16)
Await for an ack for more outgoing progress
Trait Implementations§
impl Eq for Outgoing
impl StructuralPartialEq for Outgoing
Auto Trait Implementations§
impl Freeze for Outgoing
impl RefUnwindSafe for Outgoing
impl Send for Outgoing
impl Sync for Outgoing
impl Unpin for Outgoing
impl UnwindSafe for Outgoing
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