Skip to content
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

Make `FetchResponseListener::process_response_eof` FnOnce #22550

Open
mandreyel opened this issue Dec 24, 2018 · 2 comments
Open

Make `FetchResponseListener::process_response_eof` FnOnce #22550

mandreyel opened this issue Dec 24, 2018 · 2 comments
Labels

Comments

@mandreyel
Copy link
Contributor

@mandreyel mandreyel commented Dec 24, 2018

Specifically, in #22478 I ran into having to work around this function taking a &mut self by cloning fields out of self to be sent to another thread. It would make things much easier if we could instead move them out of self. 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.

@mandreyel mandreyel mentioned this issue Dec 24, 2018
4 of 5 tasks complete
@mandreyel
Copy link
Contributor Author

@mandreyel mandreyel commented Dec 24, 2018

@highfive assign me

@highfive
Copy link

@highfive highfive commented Dec 24, 2018

Hey @mandreyel! Thanks for your interest in working on this issue. It's now assigned to you!

@highfive highfive added the C-assigned label Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.