Skip to content

[debug_handler] is causing compilation error for correct handler #2091

Answered by jplatte
eipi1 asked this question in Q&A
Discussion options

You must be logged in to vote

debug_handler can only be used for actual handler funtions. In your case, the handler is the move || ... closure, not root_agg. You would also get an error trying to pass root_agg directly to get.

I guess debug_handler could be told to ignore specific function arguments, but I'm not sure whether it's worth it since it's not a very common use case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #2090 on July 14, 2023 20:14.