Skip to content

Commit 523ca2f

Browse files
committed
Re-export RunError from bb8
1 parent 9221da1 commit 523ca2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pooled_connection/bb8.rs

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ use bb8::ManageConnection;
4646

4747
/// Type alias for using [`bb8::Pool`] with [`diesel-async`]
4848
pub type Pool<C> = bb8::Pool<AsyncDieselConnectionManager<C>>;
49+
/// Type alias for using [`bb8::RunError`] with [`diesel-async`]
50+
pub type RunError<E> = bb8::RunError<E>;
4951

5052
#[async_trait::async_trait]
5153
impl<C> ManageConnection for AsyncDieselConnectionManager<C>

0 commit comments

Comments
 (0)