Struct mqtt::packet::suback::SubackPacketPayload [] [src]

pub struct SubackPacketPayload {
    // some fields omitted
}

Methods

impl SubackPacketPayload
[src]

Trait Implementations

impl PartialEq for SubackPacketPayload
[src]

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

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

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

This method tests for !=.

impl Eq for SubackPacketPayload
[src]

impl Debug for SubackPacketPayload
[src]

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

Formats the value using the given formatter.

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

type Err = SubackPacketPayloadError

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

fn encoded_length(&self) -> u32

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

type Err = SubackPacketPayloadError

type Cond = u32

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

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