Struct mqtt::packet::pingresp::PingrespPacket [] [src]

pub struct PingrespPacket {
    // some fields omitted
}

Methods

impl PingrespPacket
[src]

Trait Implementations

impl PartialEq for PingrespPacket
[src]

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

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

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

This method tests for !=.

impl Eq for PingrespPacket
[src]

impl Debug for PingrespPacket
[src]

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

Formats the value using the given formatter.

impl<'a> Packet<'a> for PingrespPacket
[src]

type Payload = ()

fn fixed_header(&self) -> &FixedHeader

fn payload(&self) -> &Self::Payload

fn encode_variable_headers<W: Write>(&self, _writer: &mut W) -> Result<()PacketError<'a, Self>>

fn encoded_variable_headers_length(&self) -> u32

fn decode_packet<R: Read>(_reader: &mut R, fixed_header: FixedHeader) -> Result<Self, PacketError<'a, Self>>