Some help on implementing route_service #2911
vibrantsparrow
started this conversation in
General
Replies: 1 comment 3 replies
-
It looks like you need There is then also no need for you to pass the state to your function, just remove the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello, I am getting the following error when trying to implement route_service and I am also new to Rust:
the trait bound
impl std::future::Future<Output = Router<AppState>>: Service<axum::http::Request<axum::body::Body>>
is not satisfiedcode below
Any help would be great.
Beta Was this translation helpful? Give feedback.
All reactions