Function tcp_handler::packet::server_recv_with_dynamic_encrypt
source · pub async fn server_recv_with_dynamic_encrypt<R: AsyncReadExt + Unpin + Send>(
stream: &mut R,
cipher: AesCipher
) -> Result<(Bytes, AesCipher), PacketError>