Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow BorrowToSql for non-static Box<dyn ToSql> #1029

Merged
merged 2 commits into from
May 7, 2023

Conversation

laptou
Copy link
Contributor

@laptou laptou commented May 7, 2023

This allows me to use tokio_postgres::binary_copy::BinaryCopyInWriter with boxed ToSql types that are created by borrowing data from somewhere else (and are therefore not 'static).

@sfackler sfackler merged commit 22469d6 into sfackler:master May 7, 2023
@sfackler
Copy link
Owner

sfackler commented May 7, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants