-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Description
PR #525 adds a synchronous trait into rust-postgres for synchronous connections, I believe adding a corresponding trait into tokio-postgres would be benefitial. However, since async methods are not yet supported in traits we have to work around it using dynamic dispatch, such as is made possible by https://github.com/dtolnay/async-trait.
I have implemented a limited version in my own project, and would be happy to add a more full-featured version into the main library, if you'd be fine with such a workaround.
Metadata
Metadata
Assignees
Labels
No labels