Open
Description
I have come to the need of implementing hyper::rt::Read
on a custom struct. It seems to me that its documentation has been copy-pasted from tokio's AsyncRead
, except it's outdated since the signature has been changed. For some reason not stated in the doc, a ReadBufCursor
is used instead of the original ReadBuf
. Now, I simply couldn't understand from the doc how I was supposed to implement Read
, considering ReadBufCursor
only has 2 unsafe methods and isn't too-well documented either. I would greatly appreciate further official guidance on implementing the Read trait. Thank you for making hyper