Expand description
An r2d2 connection pool backed by a shared Database.
An r2d2 connection pool backed by a shared Database.
Unlike opening one connection per pool slot, every connection this manager
creates shares a single Database handle — so an in-memory pool observes
one consistent database rather than one independent database per connection.
Structs§
- Duck
DbConnection Manager - An
r2d2::ManageConnectionthat creates connections from a sharedDatabase. - Pool
Builder - A builder for a connection pool.
- Pool
Error - The error type returned by methods in this crate.
- Pool
State - Information about the state of a
Pool.
Type Aliases§
- Pool
- A DuckDB connection pool.
- Pooled
Connection - A connection checked out of a
Pool.