Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide Service conveniences like map_err #16

Closed
carllerche opened this issue Oct 10, 2017 · 1 comment
Closed

Provide Service conveniences like map_err #16

carllerche opened this issue Oct 10, 2017 · 1 comment

Comments

@carllerche
Copy link
Member

carllerche commented Oct 10, 2017

Currently, mapping the error type of a response future is pretty painful as you have to create a ton of new types just to wrap it... This could be handled by a map_err combinator.

Unfortunately, using this would really require rust-lang/rust#44490.

@seanmonstar
Copy link
Collaborator

These exist now in tower_util::ServiceExt.

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

No branches or pull requests

2 participants