-
-
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
Figure out plans for UdpFramed #2830
Comments
Chiming in as a user of One unfortunate thing about edit: all of the above doesn't make much sense anymore since the removal of In any case I think Am I correct in thinking that if it were removed there would be no real 'recommended path' for getting from a |
IIRC, the conclusion is to expose |
The remaining 0.3 steps are tracked in #2928. I am removing the 0.3 milestone from this issue but leaving it open. We still need to bring back |
Would you like to bring it back more or less like it was before, just updated to work with the new apis? Which is to say, concurrent send/recv should be pretty simple. I can submit a PR for something like this if you want. |
@leshow You would have to add |
tokio cannot be updated yet, since UdpFramed got removed, see tokio-rs/tokio#2830
@rkusa I got a comment in my email asking about what you can do without If you don't want a Of course, the PR to add |
Yeah, I wrote that commend, then I realized there already is a PR so I deleted it, sorry for the trouble |
|
there is #3086 that refactors and adds read & write only versions of |
Yeah, it is available as |
The
UdpFramed
type intokio-util
was disabled #2828, because the implementation depended onpoll_send_to
andpoll_recv_from
methods, which were removed. We need to figure out what do with this type going forward. Some options:UdpFramed
.poll_send_to
andpoll_recv_from
methods that behave similar toAsyncRead
andAsyncWrite
internally.The text was updated successfully, but these errors were encountered: