Replies: 1 comment
-
You can try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello,
I'm writing a library where the user will pass Vec of any (that means they can have different signatures) Axum handlers into the
special_router()
fn. This fn will construct new Router from passed handlers.I expected
Box<dyn Handler>
to work but the problem is you need to set the future type.Is there a way this can be achieved? Thank you.
axum version
0.8.1
Beta Was this translation helpful? Give feedback.
All reactions