Replies: 1 comment
-
Created an issue: #5913 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have encountered an issue with the
WriteHalf
struct in Tokio. There is no way to override its implementation ofAsyncWrite
because bothAsyncWrite
andWriteHalf
are a trait and a struct respectively from Tokio.This is an issue, as this prohibits me from implementing a functional vectored write if I want to split
MyStruct
into aWriteHalf
and aReadHalf
.I think this is a bug, since
impl<T: AsyncWrite> AsyncWrite for WriteHalf<T>
insplit.rs
delegates allAsyncWrite
methods down to the inner object (MyStruct
in this case), except forpoll_write_vectored
andis_write_vectored
.Does anyone know how I could get around this or fix it?
Beta Was this translation helpful? Give feedback.
All reactions