mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-31 23:02:37 +00:00
bc8c5b9ee2
The connection guard type generated by `#[database]` no longer implements `Deref` and `DerefMut`. Instead, it provides an `async fn run()` that gives access to the underlying connection on a closure run through `spawn_blocking()`. Additionally moves most of the implementation of `#[database]` out of generated code and into library code for better type-checking. |
||
---|---|---|
.. | ||
0-introduction.md | ||
1-quickstart.md | ||
2-getting-started.md | ||
3-overview.md | ||
4-requests.md | ||
5-responses.md | ||
6-state.md | ||
7-fairings.md | ||
8-testing.md | ||
9-configuration.md | ||
10-pastebin.md | ||
11-conclusion.md | ||
index.md |