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

Trait Implementations

impl Debug for Packet
[src]

Formats the value using the given formatter.

impl Clone for Packet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Packet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.