Skip to content

Implement futures::io::AsyncRead and AsyncWrite #7

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

olivia-fl
Copy link

This PR depends on #6, so don't merge it until that #6 is merged.

tokio::io and futures::io have completely separate AsyncRead and AsyncWrite traits. There is a compatibility layer between the two, but it's clunky. We might as well implement both traits. This results in a bit of code duplication, but it's not too bad, and simplifies using tokio-libtls with futures::io for users.

@olivia-fl olivia-fl changed the title Impl futures io Implement futures::io::AsyncRead and AsyncWrite Dec 1, 2020
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

Successfully merging this pull request may close these issues.

1 participant