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
Both the ErrorKind type in bincode 1.3.3 and the EncodeError/DecodeError types in bincode 2.0.0-rc.1 do not implement the source method in std::error::Error, which allows for automatic introspection of error causes.
Implementing it in 1.3.3 should be trivial, as it should be possible to reusing the implementation of the deprecated cause method (which 1.3.3 implements).
I've noticed that bincode 1.0 appears to have a MSRV below the version in which source was added. Does this prevent the library from implementing it in any form, or can conditional compilation be used to implement it if the compiler version supports it?
The text was updated successfully, but these errors were encountered:
Both the
ErrorKind
type in bincode1.3.3
and theEncodeError
/DecodeError
types in bincode2.0.0-rc.1
do not implement thesource
method instd::error::Error
, which allows for automatic introspection of error causes.Implementing it in
1.3.3
should be trivial, as it should be possible to reusing the implementation of the deprecatedcause
method (which1.3.3
implements).I've noticed that bincode
1.0
appears to have a MSRV below the version in whichsource
was added. Does this prevent the library from implementing it in any form, or can conditional compilation be used to implement it if the compiler version supports it?The text was updated successfully, but these errors were encountered: