Searched refs:tokio_tcp_stream (Results 1 – 1 of 1) sorted by relevance
22 let (tokio_tcp_stream, _) = listener.accept().await?; in tcp_into_std()23 let mut std_tcp_stream = tokio_tcp_stream.into_std()?; in tcp_into_std()40 let mut tokio_tcp_stream = TcpStream::from_std(std_tcp_stream)?; in tcp_into_std() localVariable42 let _size = tokio_tcp_stream.read_exact(&mut data).await?; in tcp_into_std()