-
-
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
tokio-0.2.0-alpha4
AsyncRead
and AsyncWrite
traits are not the same as futures-0.3.0-alpha18
versions.
#1551
Comments
See also #1297 |
Currently, the primary difference between the two traits is Tokio's reliance on There are probably other issues that I would like to see addressed w/ the current traits (both futures-io and tokio), but on a personal note, I am punting on that until I am able to update Tokio to the latest mio & bytes crates. |
So with The |
An idea that I think others have mentioned, but not posted here, would be for tokio to implement See also tokio-rs/tokio-compat#2 (adding I/O to tokio-compat) |
Linking #1744 for reference. |
#1744 is now closed; @carllerche where should people be following along on efforts (if any) to converge |
tokio-0.2
'sAsyncWrite
,AsyncRead
etc are out of sync with thefutures-0.3
versions - e.g.tokio
'sAsyncWrite
is implemented forVec<u8>
, whilefutures
'AsyncWrite
is implemented forCursor<T> where T: AsMut<[u8]>
.Rather than supplying its own versions of these traits, could
tokio
reuse thefutures
versions?The text was updated successfully, but these errors were encountered: