-
Notifications
You must be signed in to change notification settings - Fork 164
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
AppDataResponse
unnecessarily requires Clone
#703
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
You are correct; some of the trait bounds have not been given enough consideration. I will fix this and address similar issues to ensure that all trait bounds are appropriately defined. Please inform me if I missed any. :) |
Thanks!
I tried to get rid of An ideal solution would be to model this differently, by having |
Yes it's a bit difficult for now. |
Currently,
AppDataResponse
trait requires that the response type implementsClone
. However, this is not necessary foropenraft
, since the response is only moved back to the client, but not otherwise cloned. Therefore, the requirement should be dropped.Opinions?
(note: in our project, this required us to do unnecessary wrapping/memory allocations and unsafe tricks, which is all not necessary when the
Clone
requirement is dropped)Thanks.
The text was updated successfully, but these errors were encountered: