1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! MQTT v5 Protocol codec use bytestring::ByteString; mod codec; mod decode; mod encode; mod packet; pub use self::codec::Codec; pub use self::packet::*; pub type UserProperty = (ByteString, ByteString); pub type UserProperties = Vec<UserProperty>;