Skip to content

Handler<_, _>` is not satisfied and how to find out what is the cause of it for function with generics? #3256

Answered by mladedav
sergeda asked this question in Q&A
Discussion options

You must be logged in to vote

I think removing the generics for debug purposes and using debug_handler would be the way to go.

You can also manually check that the returned future is Send, that's usually the problem.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by sergeda
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