Skip to content
Discussion options

You must be logged in to vote

When using #[debug_handler] on handlers that use state you have to set it, if it can't otherwise be inferred. See https://docs.rs/axum/latest/axum/attr.debug_handler.html#changing-state-type

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by javihc
Comment options

You must be logged in to vote
8 replies
@davidpdrsn
Comment options

@javihc
Comment options

@davidpdrsn
Comment options

@javihc
Comment options

@davidpdrsn
Comment options

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