-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io: misc improvements #1256
Comments
#1301 just added traits and combinators. We should add EDIT: It seems that there were fewer types that could implement this than I had thought. |
Can someone clarify which types are intended to implement |
@jimmycuadra any type that can implement it should. |
This looks like a good place to bring this up: in tokio 0.1, So, what makes the most sense for tokio 0.2? I had a few ideas:
On another note, I would love to see an |
@jebrosen I'm not convinced it's good idea to implement AsyncWriteExt::write_all(&mut my_writer, buf) instead of my_writer.write_all(buf) |
In writing my previous comment I had actually missed a huge amount of functionality that was already implemented, and #1632 adds the few utilitites I was especially interested in. I believe these are all that's missing now compared to
|
#1642 adds |
Tracking misc smaller improvements to
tokio-io
.This issue is to be closed once there are no remaining breaking changes to make or remaining breaking changes are tracked in separate issues.
Features
AsyncRead::chain
,take
, and any other missing helpers.split
helper. (io: bring backsplit
utility #1521)AsyncBufRead
implementations.Polish
The text was updated successfully, but these errors were encountered: