Function sage_mqtt::codec::read_control_packet_type[][src]

pub async fn read_control_packet_type<R: AsyncRead + Unpin>(
    reader: &mut R
) -> SageResult<PacketType>
Expand description

Read the given reader for a PacketType. In case of success, returns a PacketType instance.