Skip to content

Trait bound `MethodRouter<B> Error #835

Answered by davidpdrsn
SamuelBonilla asked this question in Q&A
Discussion options

You must be logged in to vote

You're Router requires Body but the handler takes a generic B. You have to either use Handler<T, Body> or Router<B>. I'd recommend the former.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SamuelBonilla
Comment options

Answer selected by davidpdrsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants