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

pub struct UnsubscribePacketPayload {
    // some fields omitted
}

Methods

impl UnsubscribePacketPayload
[src]

Trait Implementations

impl PartialEq for UnsubscribePacketPayload
[src]

fn eq(&self, __arg_0: &UnsubscribePacketPayload) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &UnsubscribePacketPayload) -> bool

This method tests for !=.

impl Eq for UnsubscribePacketPayload
[src]

impl Debug for UnsubscribePacketPayload
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> Encodable<'a> for UnsubscribePacketPayload
[src]

type Err = UnsubscribePacketPayloadError

fn encode<W: Write>(&self, writer: &mut W) -> Result<(), Self::Err>

fn encoded_length(&self) -> u32

impl<'a> Decodable<'a> for UnsubscribePacketPayload
[src]

type Err = UnsubscribePacketPayloadError

type Cond = u32

fn decode_with<R: Read>(reader: &mut R, payload_len: Option<u32>) -> Result<UnsubscribePacketPayloadUnsubscribePacketPayloadError>

fn decode<R: Read>(reader: &mut R) -> Result<Self, Self::Err>