Function tcp_handler::packet::recv_with_encrypt
source · pub async fn recv_with_encrypt<R: AsyncReadExt + Unpin + Send>(
stream: &mut R,
cipher: &AesCipher
) -> Result<Bytes, PacketError>👎Deprecated since 0.1.0: Please use
recv_with_dynamic_encrypt instead.