1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! MQTT v5 Protocol codec
use ntex::util::ByteString;
#[allow(clippy::module_inception)]
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>;