You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error is an FFI object. I can't guarantee that Error is sync. And even if we scrutinized the C implementation and found it to be Sync, I can't guarantee that it will remain sync in future releases of libdbus.
What I could do is implement From back and forth between Error and MethodErr, the latter being a pure Rust struct with nothing in it that should make it non-Sync. Would that help?
I'm not sure what MethodErr is, but something like that would be great. Because right now dbus-rs is incompatible with error-chain and it seems that I'm not the only one who thinks that error-chain is a very valuable crate.
Error
currently uses c pointers, which don't implement theSync
trait.error-chain requires errors to implement the
Sync
trait since version 0.8.0.See also: rust-lang-deprecated/error-chain#110
The text was updated successfully, but these errors were encountered: