-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't mock Send traits #18
Comments
Ack. I think it should be possible to support this. My initial thinking is to simply every private member variable of the generated mock struct in an |
I intend to spend some time working on this next weekend. |
Is there any progress? This crate would be perfect if only it supported Sync + Send. |
Progress has been made. I have WIP (work in progress) branch that is mostly working. I plan to finish this feature and deploy it to a new version of the double crate next weekend. |
Double cannot mock a trait that must be
Send
. Example:gives the following error:
The text was updated successfully, but these errors were encountered: