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
Thanks! I would prefer not to provide these impls because this seems pretty specific to your use case -- I don't recall having seen Result<T, io::ErrorKind> before. I would recommend using serialize_with or a newtype wrapper to provide the serialization logic yourself.
ErrorKind is a simple enum so hopefully implementing ser/de would be straightforward.
One use case: structured error reporting in networked apis. The function:
could be turned into an rpc call.
The text was updated successfully, but these errors were encountered: