Replies: 1 comment
-
This is because of https://docs.rs/axum/latest/axum/attr.debug_handler.html#changing-state-type. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought I understood the state system until I am trying to make one of my substates mutable by adding Arc<Mutex<>>.
After adding Arc<>, I am getting a trait bound error on all my routes which do not even access this substate.
I have tried using the debug macro, but do not get any more helpful error.
Here is my state:
And here is the error:
My signature for the handler just looks like this:
Beta Was this translation helpful? Give feedback.
All reactions