Skip to content

The return type of tokio_core::io::read is not exposed #59

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

Closed
spinda opened this issue Oct 15, 2016 · 2 comments
Closed

The return type of tokio_core::io::read is not exposed #59

spinda opened this issue Oct 15, 2016 · 2 comments

Comments

@spinda
Copy link
Contributor

spinda commented Oct 15, 2016

https://github.com/tokio-rs/tokio-core/blob/master/src/io/mod.rs#L47

ReadToEnd and ReadExact are exposed, for example, but Read is not, making it impossible for code outside of tokio to refer to the return type of tokio_core::io::read.

@ghost
Copy link

ghost commented Oct 15, 2016

Thanks for the report, this should be addressed by pull request #55.

@alexcrichton
Copy link
Contributor

Indeed, fixed in #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants