pub async fn write_raw_packets<W>( raw_packets: impl Iterator<Item = &[u8]>, stream: &mut W, compression_threshold: Option<u32>, cipher: &mut Option<Aes128CfbEnc>, ) -> Result<()>where W: AsyncWrite + Unpin + Send,