-
Notifications
You must be signed in to change notification settings - Fork 20
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
Consider relaxing Unpin bound on Sink impl for FramedWrite #46
Comments
In In this crate, however, there seems to be an extra layer: |
I tried to restructure and refactor this crate, WIP version @ https://github.com/YZITE/futures-codec (which e.g. gets rid of the |
For future readers: since the above repo no longer exists, there is now a similar crate at silvanshade/async-codec-lite. |
ah sorry, moved it here: https://github.com/YZITE/futures/tree/main/crates/codec |
It appears that the
Sink
trait implementation fortokio_util::codec::FramedWrite
requires onlyAsyncWrite
and notAsyncWrite + Unpin
. Is there a chance thatfutures_codec::FramedWrite
could do the same?As of today, I cannot invoke
StreamExt::forward()
on afutures_codec::FramedWrite
which wraps a non-Unpin
type.The text was updated successfully, but these errors were encountered: