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.

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<'a> Packet<'a> for UnsubscribePacket
[src]

Get a FixedHeader of this packet

Get payload

Encode variable headers to writer

Length of bytes after encoding variable header

Deocde packet with a FixedHeader