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