How axum provide type safe State<T>
extractor ?
#2005
Answered
by
davidpdrsn
nurmohammed840
asked this question in
Q&A
-
I am curious and want to know, How axum v0.6 provide type safe I spent many hours, but could not figure it out. I would appreciate if someone could show me a minimal code example. Edit: More specifically How does axum call |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
May 13, 2023
Replies: 1 comment
-
Most of the magic is in https://github.com/tokio-rs/axum/blob/main/axum/src/boxed.rs |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nurmohammed840
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most of the magic is in https://github.com/tokio-rs/axum/blob/main/axum/src/boxed.rs