Function write_packet

Source
pub fn write_packet<W>(stream: W, packet: &Packet) -> Result<(), Error>
where W: Write,
Expand description

Write a packet to a stream