Skip to content
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: add AsyncBufReadExt::split #1642

Merged
merged 1 commit into from
Oct 9, 2019
Merged

io: add AsyncBufReadExt::split #1642

merged 1 commit into from
Oct 9, 2019

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Oct 8, 2019

Motivation

AsyncBufReadExt currently lacks an async version of std::io's
BufRead::split method.

Solution

This branch adds a split method to AsyncBufReadExt, analogous to
std::io::BufRead::split.

Signed-off-by: Eliza Weisman eliza@buoyant.io

This branch adds a `split` method to `AsyncBufReadExt`, analogous to
`std::io::BufRead::split`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
@hawkw hawkw added C-enhancement Category: A PR with an enhancement or bugfix. tokio-io labels Oct 8, 2019
@hawkw hawkw self-assigned this Oct 8, 2019
@hawkw hawkw mentioned this pull request Oct 8, 2019
4 tasks
@carllerche carllerche merged commit 69fe65e into master Oct 9, 2019
@carllerche carllerche deleted the eliza/io-split branch October 19, 2019 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: A PR with an enhancement or bugfix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants