Enum mqtt3::Packet
[−]
[src]
pub enum Packet { Connect(Box<Connect>), Connack(Connack), Publish(Box<Publish>), Puback(PacketIdentifier), Pubrec(PacketIdentifier), Pubrel(PacketIdentifier), Pubcomp(PacketIdentifier), Subscribe(Box<Subscribe>), Suback(Box<Suback>), Unsubscribe(Box<Unsubscribe>), Unsuback(PacketIdentifier), Pingreq, Pingresp, Disconnect, }
Variants
Connect(Box<Connect>)
Connack(Connack)
Publish(Box<Publish>)
Puback(PacketIdentifier)
Pubrec(PacketIdentifier)
Pubrel(PacketIdentifier)
Pubcomp(PacketIdentifier)
Subscribe(Box<Subscribe>)
Suback(Box<Suback>)
Unsubscribe(Box<Unsubscribe>)
Unsuback(PacketIdentifier)
Pingreq
Pingresp
Disconnect
Trait Implementations
impl Debug for Packet
[src]
impl Clone for Packet
[src]
fn clone(&self) -> Packet
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more