[][src]Function rumq_core::packet_type

pub fn packet_type(num: u8) -> Result<PacketType, Error>