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 upMake Boxed Queries Cloneable #1698
Comments
This comment has been minimized.
|
|
sgrif
closed this
May 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Narfinger commentedMay 17, 2018
At the moment Boxed Queries (resulting from into_boxed()) are not cloneable.
My use case is that I want to keep constructing the query in a different part of the code and keep it in a struct. Periodically I want to execute the query and load the result but of course, keep the struct.
Is there a reason why this is not cloneable?