Enum ntex_mqtt::v5::codec::Packet [−][src]
pub enum Packet {}Show variants
Connect(Connect), ConnectAck(ConnectAck), Publish(Publish), PublishAck(PublishAck), PublishReceived(PublishAck), PublishRelease(PublishAck2), PublishComplete(PublishAck2), Subscribe(Subscribe), SubscribeAck(SubscribeAck), Unsubscribe(Unsubscribe), UnsubscribeAck(UnsubscribeAck), PingRequest, PingResponse, Disconnect(Disconnect), Auth(Auth),
Expand description
MQTT Control Packets
Variants
Connect(Connect)
Client request to connect to Server
ConnectAck(ConnectAck)
Connect acknowledgment
Publish(Publish)
Publish message
PublishAck(PublishAck)
Publish acknowledgment
PublishReceived(PublishAck)
Publish received (assured delivery part 1)
PublishRelease(PublishAck2)
Publish release (assured delivery part 2)
PublishComplete(PublishAck2)
Publish complete (assured delivery part 3)
Subscribe(Subscribe)
Client subscribe request
SubscribeAck(SubscribeAck)
Subscribe acknowledgment
Unsubscribe(Unsubscribe)
Unsubscribe request
UnsubscribeAck(UnsubscribeAck)
Unsubscribe acknowledgment
PING request
PING response
Disconnect(Disconnect)
Disconnection is advertised
Auth(Auth)
Auth exchange
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl UnwindSafe for Packet
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self