pub async fn pooled_read( rdr: impl AsyncRead, limit: usize, ) -> Result<Option<Bytes>>
Reads from rdr into a thread-local buffer, returning the bytes read.
rdr
Ok(None) indicates EOF.
Ok(None)