Rocket/examples/state/src
Sergio Benitez d03a07b183 Retrieve managed state via a borrow: '&State<T>'.
This has the following positive effects:

  1) The lifetime retrieved through 'Deref' is now long-lived.
  2) An '&State<T>` can be created via an '&T'.
  3) '&State<T>' is shorter to type than 'State<'_, T>'.
2021-05-11 08:58:16 -05:00
..
main.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
managed_hit_count.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
managed_queue.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
request_local.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
tests.rs Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00