Module mqtt::packet [−][src]
Expand description
Specific packets
Re-exports
pub use self::connack::ConnackPacket;pub use self::connect::ConnectPacket;pub use self::disconnect::DisconnectPacket;pub use self::pingreq::PingreqPacket;pub use self::pingresp::PingrespPacket;pub use self::puback::PubackPacket;pub use self::pubcomp::PubcompPacket;pub use self::publish::PublishPacket;pub use self::publish::PublishPacketRef;pub use self::pubrec::PubrecPacket;pub use self::pubrel::PubrelPacket;pub use self::suback::SubackPacket;pub use self::subscribe::SubscribePacket;pub use self::unsuback::UnsubackPacket;pub use self::unsubscribe::UnsubscribePacket;pub use self::publish::QoSWithPacketIdentifier;Modules
CONNACK
CONNECT
DISCONNECT
PINGREQ
PINGRESP
PUBACK
PUBCOMP
PUBLISH
PUBREC
PUBREL
SUBACK
SUBSCRIBE
UNSUBACK
UNSUBSCRIBE
Enums
Parsing errors for packet
Variable packet
Parsing errors for variable packet
Traits
A trait representing a packet that can be encoded, when passed as FooPacket or as
&FooPacket. Different from Encodable in that it prevents you from accidentally passing
a type intended to be encoded only as a part of a packet and doesn’t have a header, e.g.
Vec<u8>.