Enum mqtt::packet::VariablePacket [] [src]

pub enum VariablePacket {
    ConnectPacket(ConnectPacket),
    ConnackPacket(ConnackPacket),
    PublishPacket(PublishPacket),
    PubackPacket(PubackPacket),
    PubrecPacket(PubrecPacket),
    PubrelPacket(PubrelPacket),
    PubcompPacket(PubcompPacket),
    PingreqPacket(PingreqPacket),
    PingrespPacket(PingrespPacket),
    SubscribePacket(SubscribePacket),
    SubackPacket(SubackPacket),
    UnsubscribePacket(UnsubscribePacket),
    UnsubackPacket(UnsubackPacket),
    DisconnectPacket(DisconnectPacket),
}

Variants

Methods

impl VariablePacket
[src]

Trait Implementations

impl Debug for VariablePacket
[src]

Formats the value using the given formatter.

impl Eq for VariablePacket
[src]

impl PartialEq for VariablePacket
[src]

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

This method tests for !=.

impl From<ConnectPacket> for VariablePacket
[src]

Performs the conversion.

impl From<ConnackPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PublishPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PubackPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PubrecPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PubrelPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PubcompPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PingreqPacket> for VariablePacket
[src]

Performs the conversion.

impl From<PingrespPacket> for VariablePacket
[src]

Performs the conversion.

impl From<SubscribePacket> for VariablePacket
[src]

Performs the conversion.

impl From<SubackPacket> for VariablePacket
[src]

Performs the conversion.

impl From<UnsubscribePacket> for VariablePacket
[src]

Performs the conversion.

impl From<UnsubackPacket> for VariablePacket
[src]

Performs the conversion.

impl From<DisconnectPacket> for VariablePacket
[src]

Performs the conversion.

impl<'a> Encodable<'a> for VariablePacket
[src]

impl<'a> Decodable<'a> for VariablePacket
[src]