Struct mqtt::packet::connect::ConnectPacket[][src]

pub struct ConnectPacket { /* fields omitted */ }

CONNECT packet

Methods

impl ConnectPacket
[src]

Trait Implementations

impl Debug for ConnectPacket
[src]

Formats the value using the given formatter. Read more

impl Eq for ConnectPacket
[src]

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

Performs the conversion.

Auto Trait Implementations