WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(rt): improve Read and ReadBufCursor documentation (#4000)
Add comprehensive documentation for implementing the Read trait:
- Explain the difference from tokio's AsyncRead
- Provide a complete example of implementing Read using put_slice
- Document when to use unsafe methods
Improve ReadBufCursor documentation:
- Describe safe vs unsafe approaches
- Add examples for both put_slice and as_mut/advance usage
- Link to relevant methods
Fixes#3649
0 commit comments