Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBackend-agnostic connections #346
Comments
This comment has been minimized.
|
Connections aren't object safe, and basically never will be able to with Rust as it is today. You'll have to write your functions as |
sgrif
closed this
May 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
flying-sheep commentedMay 27, 2016
•
edited
I’d like to create a
impl Connection for PgOrSqliteConnectionor at least aBox<Connection>but the former requires me to implement dozens of interfaces and the latter is impossible due to the associatedBackendtype.