Struct mqtt::packet::publish::PublishPacket[][src]

pub struct PublishPacket { /* fields omitted */ }

PUBLISH packet

Methods

impl PublishPacket
[src]

Trait Implementations

impl Debug for PublishPacket
[src]

Formats the value using the given formatter. Read more

impl Eq for PublishPacket
[src]

impl PartialEq for PublishPacket
[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 PublishPacket
[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<PublishPacket> for VariablePacket
[src]

Performs the conversion.

Auto Trait Implementations