pub struct PublishPacketRef<'a> { /* private fields */ }
Expand description

PUBLISH packet by reference, for encoding only

Implementations

Trait Implementations

Get a reference to FixedHeader. All MQTT packet must have a fixed header.

Encodes packet data after fixed header, including variable headers and payload

Length in bytes for data after fixed header, including variable headers and payload

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Encodes to writer

Length of bytes after encoded

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.