We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Define the following type:
enum DavRequest { Get {path: DavPath, pathparts: Vec<Components>}, Propfind {path: DavPath, depth: FiniteDepth, query: PropFind}, Options, }
impl FromRequest<S> for DavRequest
Use this to replace the content of inner_handle_request() with a single match on a req.extract::<DavRequest, _>() call
inner_handle_request()
match
req.extract::<DavRequest, _>()
handle_request()
The text was updated successfully, but these errors were encountered:
jwodder
No branches or pull requests
Define the following type:
impl FromRequest<S> for DavRequest
Use this to replace the content of
inner_handle_request()
with a singlematch
on areq.extract::<DavRequest, _>()
callinner_handle_request()
intohandle_request()
The text was updated successfully, but these errors were encountered: