We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6358fbe + e86b86b commit 439a5f1Copy full SHA for 439a5f1
src/pooled_connection/bb8.rs
@@ -47,6 +47,10 @@ use bb8::ManageConnection;
47
48
/// Type alias for using [`bb8::Pool`] with [`diesel-async`]
49
pub type Pool<C> = bb8::Pool<AsyncDieselConnectionManager<C>>;
50
+/// Type alias for using [`bb8::PooledConnection`] with [`diesel-async`]
51
+pub type PooledConnection<'a, C> = bb8::PooledConnection<'a, AsyncDieselConnectionManager<C>>;
52
+/// Type alias for using [`bb8::RunError`] with [`diesel-async`]
53
+pub type RunError = bb8::RunError<super::PoolError>;
54
55
#[async_trait::async_trait]
56
impl<C> ManageConnection for AsyncDieselConnectionManager<C>
0 commit comments