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

src: impl Try for Response, change Middleware/Endpoints #2

Open
wants to merge 8 commits into
base: new-http-types-errors
Choose a base branch
from

Conversation

Fishrock123
Copy link
Owner

Requires #![feature(try_trait)] and will only compile on rust nightly!

Moves away from Ok(res) and Ok(impl Into<Response> in favor of returning Response directly, with error propogation via ? handled by the Try trait.

Fishrock123 and others added 8 commits June 6, 2020 11:07
because apparently cookie-0.14.1 uses a feature flag in docs
Requires `#![feature(try_trait)]` and will only compile on rust nightly!

Moves away from `Ok(res)` and `Ok(impl Into<Response>` in favor of returning `Response` directly, with error propogation via `?` handled by the `Try` trait.
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.

2 participants