Cannot get middleware working due to Service trait impl #1680
Unanswered
thomasmost
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing middleware to load application state into a grpc handler, and I cannot get my app to serve with the middleware layer
I've double-checked the types and looked at many examples and I can't tell what I've gotten wrong in my implementation, nor can I really make sense of the "help" message in the error.
Any help you can give me will be deeply appreciated!
Full error on compilation:
Note the help message indicates the trait is implemented for a generic version of the middleware?? but is somehow not matching
Routes
...middleware.rs
main.rs
Beta Was this translation helpful? Give feedback.
All reactions