pub async fn drain(stream: ReadStream<'_>) -> Result<u64>Expand description
Drains a ReadStream into the void, returning the total bytes read.
pub async fn drain(stream: ReadStream<'_>) -> Result<u64>Drains a ReadStream into the void, returning the total bytes read.