diesel_async::pooled_connection::mobc

Type Alias Pool

Source
pub type Pool<C> = Pool<AsyncDieselConnectionManager<C>>;
Available on crate features pool and mobc only.
Expand description

Type alias for using mobc::Pool with [diesel-async]

This is not equal to mobc::Pool. It already uses the correct connection manager and expects only the connection type as generic argument

Aliased Typeยง

struct Pool<C>(/* private fields */);