Function write_packet

Source
pub fn write_packet(
    writer: &mut impl Write,
    packet: &impl PacketTrait,
) -> Result<()>