Function tcp_client::recv
source · pub async fn recv<R: AsyncReadExt + Unpin + Send>(
stream: &mut R,
cipher: AesCipher,
time: Option<Duration>
) -> Result<(BytesMut, AesCipher), PacketError>
pub async fn recv<R: AsyncReadExt + Unpin + Send>(
stream: &mut R,
cipher: AesCipher,
time: Option<Duration>
) -> Result<(BytesMut, AesCipher), PacketError>