Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake `FetchResponseListener::process_response_eof` FnOnce #22550
Labels
Comments
|
@highfive assign me |
|
Hey @mandreyel! Thanks for your interest in working on this issue. It's now assigned to you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Specifically, in #22478 I ran into having to work around this function taking a
&mut selfby cloning fields out ofselfto be sent to another thread. It would make things much easier if we could instead move them out ofself. Since this function represents the last step of processing a response, I think it would also make semantically sense to do so, and from what I've seen, it wouldn't break existing trait implementations.