A quick multiple-choice check before you move on. Answer every question, then submit to see how you did.
1.In Axum, what is the primary mechanism by which a handler receives shared application state (like a database connection pool), given that Rust has no built-in DI container?
2.A Rust struct field named display_name is serialized to JSON without any serde rename attributes. What key appears in the resulting JSON?
3.For a handler that accepts a JSON request body via Json<CreateUser>, which trait must CreateUser implement?
4.Why must all Axum handler functions be declared async, and what enables main to run them?
5.Which extractor pairing correctly matches a route like /users/{id}?page=2?