We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9221da1 commit 5d5195dCopy full SHA for 5d5195d
src/pooled_connection/bb8.rs
@@ -46,6 +46,10 @@ use bb8::ManageConnection;
46
47
/// Type alias for using [`bb8::Pool`] with [`diesel-async`]
48
pub type Pool<C> = bb8::Pool<AsyncDieselConnectionManager<C>>;
49
+/// Type alias for using [`bb8::PooledConnection`] with [`diesel-async`]
50
+pub type PooledConnection<'a, C> = bb8::PooledConnection<'a, AsyncDieselConnectionManager<C>>;
51
+/// Type alias for using [`bb8::RunError`] with [`diesel-async`]
52
+pub type RunError = bb8::RunError<super::PoolError>;
53
54
#[async_trait::async_trait]
55
impl<C> ManageConnection for AsyncDieselConnectionManager<C>
0 commit comments