A quick multiple-choice check before you move on. Answer every question, then submit to see how you did.
1.In Axum, how does a handler function access the application's shared state?
2.The theory notes that Axum state 'must be Clone (or wrap in Arc)'. Why is wrapping shared state in Arc the common approach?
3.How is shared state attached to an Axum Router?
4.According to the theory, when multiple middleware layers are added to a router with .layer(...), in what order do they execute relative to when they were added?
5.The theory contrasts Axum's approach with ASP.NET Core's dependency injection. What is the key difference it highlights about how state reaches a handler in Rust?