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
Add web::ReqData<T>
extractor
#1748
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1748 +/- ##
==========================================
+ Coverage 53.60% 53.83% +0.22%
==========================================
Files 126 127 +1
Lines 11996 12050 +54
==========================================
+ Hits 6431 6487 +56
+ Misses 5565 5563 -2
Continue to review full report at Codecov.
|
This isn't true due to |
PR Type
Feature
PR Checklist
Overview
Superceeds #1729 but includes original commits by @jplatte.
Adds a
ReqData
extractor for request data / request extensions, analogous toweb::Data
.Changes from original:
DerefMut
implData<T>
type when attempting extraction #1743)Future work:
Rc<RefCell<T>>
in docs for in-place mutation (theres a test demonstrating this)