In rust’s rocket, why can I copy state from request guards, but not when retrieving it via Rocket::state?
This route, which simply sets a key-value in Redis, compiles and runs successfully:
This route, which simply sets a key-value in Redis, compiles and runs successfully: