-
Notifications
You must be signed in to change notification settings - Fork 30
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
Make DmError able to be cloned #644
Comments
@mulkieran Please take a look at rust-lang-deprecated/error-chain#134. It appears that we cannot implement |
@jbaublitz When you have a chance, look into seeing if we can just drop our dependency on |
So, dropping dependency on error_chain is not so hard, but |
Related to straits-storage/stratisd#2664
First, investigate whether this is possible with the error chaining crate. If it is, provide a
Clone
implementation given that in stratisd, we have aDmError
that is part of alazy_static
expression so we cannot move it. It would be preferable to be able to clone it rather that stringifying it and wrapping it as a message.The text was updated successfully, but these errors were encountered: