Function network_clique::io::receive_data
source · pub async fn receive_data<S: AsyncReadExt + Unpin, D: Data>(
stream: S
) -> Result<(S, D), ReceiveError>
Expand description
Attempts to receive some data using the stream.
pub async fn receive_data<S: AsyncReadExt + Unpin, D: Data>(
stream: S
) -> Result<(S, D), ReceiveError>
Attempts to receive some data using the stream.