Function send_packet

Source
pub async fn send_packet<P: Encode + Debug>(
    packet: P,
    conn: &Connection,
) -> Result<()>