Function read_packet

Source
pub fn read_packet<R>(stream: R) -> Result<Packet, Error>
where R: Read,
Expand description

Read a packet from a stream