Expand description
Async facade over connection::Connection, gated by the async feature.
Async facade over Connection, gated by the
async feature.
This module is tokio-only: every method dispatches to
tokio::task::spawn_blocking. There is no runtime-agnostic abstraction here —
an async-std or smol user can reimplement AsyncConnection over their own
blocking-task primitive in place of spawn_blocking; see its source for the
pattern, which is small.
Structs§
- Async
Connection - An async facade over a
Connection. - Async
Database - An async facade over a
Database. - Async
Pool - An async facade over a
Pool.