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

refactor: use HttpBody with extra bounds instead of Payload trait #2188

Closed
wants to merge 1 commit into from

Conversation

djc
Copy link
Contributor

@djc djc commented Apr 19, 2020

I've done most of the legwork, but I'm confused about the interaction of the error types that the compiler is complaining about at this point. If someone else wants to take a look, that'd be great.

@djc djc force-pushed the kill-payload branch 2 times, most recently from a48fd4b to 2f0b828 Compare April 20, 2020 08:24
@djc djc changed the title refactor: use HttpBody with extra bounds instead of private Payload trait refactor: use HttpBody with extra bounds instead of Payload trait Apr 20, 2020
@djc djc marked this pull request as ready for review April 20, 2020 08:26
@djc
Copy link
Contributor Author

djc commented Apr 20, 2020

Fixed up the remaining issues.

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me, a bit more verbose but acceptable. Ill let @seanmonstar merge though.

@seanmonstar
Copy link
Member

Looks great, thanks! I noticed the error types grew some extra + Send bounds, so I've removed those in #2202.

@djc
Copy link
Contributor Author

djc commented May 14, 2020

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants