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

Seal AsyncBufRead and make implementation methods private #2896

Closed
wants to merge 1 commit into from

Conversation

seanmonstar
Copy link
Member

The extension methods still exist (lines, read_until, etc). The implementation details are now private, so we can consider changing things later (post 1.0) without breaking users.

cc #2428

@seanmonstar
Copy link
Member Author

Looks like this would require removing the implementations for the types in tokio-util (so Compat, Either, and StreamReader).

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-io Module: tokio/io labels Sep 30, 2020
@carllerche
Copy link
Member

Given this, I'm ok w/ either moving AsyncBufRead to -util or removing the impls in -util. Whichever everyone prefers.

@Darksonn
Copy link
Contributor

We decided to punt AsyncBufRead. See #2428 (comment).

@Darksonn Darksonn closed this Oct 19, 2020
@Darksonn Darksonn deleted the asyncbufread-sealed branch October 19, 2020 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-io Module: tokio/io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants