Skip to content

Commit

Permalink
Actually implement AsyncR2D2Connection (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein authored May 15, 2024
1 parent 88be965 commit b0ff046
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ where
}
}

#[async_trait]
impl<Conn> crate::AsyncR2D2Connection<Conn> for Connection<Conn> where Conn: 'static + R2D2Connection
{}

#[async_trait]
impl<Conn> crate::AsyncConnection<Conn> for Connection<Conn>
where
Expand Down

0 comments on commit b0ff046

Please sign in to comment.