It appears that the Sink trait implementation for tokio_util::codec::FramedWrite requires only AsyncWrite and not AsyncWrite + Unpin. Is there a chance that futures_codec::FramedWrite could do the same?
As of today, I cannot invoke StreamExt::forward() on a futures_codec::FramedWrite which wraps a non-Unpin type.
It appears that the
Sinktrait implementation fortokio_util::codec::FramedWriterequires onlyAsyncWriteand notAsyncWrite + Unpin. Is there a chance thatfutures_codec::FramedWritecould do the same?As of today, I cannot invoke
StreamExt::forward()on afutures_codec::FramedWritewhich wraps a non-Unpintype.