-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-musingCategory: musings about a better worldCategory: musings about a better worldM-ioModule: tokio/ioModule: tokio/io
Milestone
Description
In the spirit of this RFC, we should consider refactoring AsyncBufRead in a similar way to allow unlimited peeking.
It is worth noting that this removes some types' ability to implement the trait without complicating the types. This is the case for e.g. StreamReader. That said, as is, the trait is more or less only useful for read_line, and other single-byte-separated splits.
Metadata
Metadata
Assignees
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-musingCategory: musings about a better worldCategory: musings about a better worldM-ioModule: tokio/ioModule: tokio/io