Modular web app
#1977
Replies: 1 comment 5 replies
-
There is no async trait in Rust. You can use normal trait to return a boxed async block but it comes with an overhead. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanna have async pub trait for handler like
How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions