Struct mqtt::packet::unsubscribe::UnsubscribePacket[][src]

pub struct UnsubscribePacket { /* fields omitted */ }

UNSUBSCRIBE packet

Methods

impl UnsubscribePacket
[src]

Trait Implementations

impl Debug for UnsubscribePacket
[src]

Formats the value using the given formatter. Read more

impl Eq for UnsubscribePacket
[src]

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

Performs the conversion.

Auto Trait Implementations