Struct mqtt::packet::subscribe::SubscribePacket[][src]

pub struct SubscribePacket { /* fields omitted */ }

SUBSCRIBE packet

Methods

impl SubscribePacket
[src]

Trait Implementations

impl Debug for SubscribePacket
[src]

Formats the value using the given formatter. Read more

impl Eq for SubscribePacket
[src]

impl PartialEq for SubscribePacket
[src]

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

This method tests for !=.

impl Packet for SubscribePacket
[src]

Get a FixedHeader of this packet

Get the payload

Get a borrow of payload

Encode variable headers to writer

Length of bytes after encoding variable header

Deocde packet with a FixedHeader

impl From<SubscribePacket> for VariablePacket
[src]

Performs the conversion.

Auto Trait Implementations