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
{{ message }}
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.
Hey, I was wondering if it is possible to use error_chain with tokio_proto... It looks like std::io::Error is hard-coded in a lot of places.
For example, I was working through the tutorial, and I had this code (with the compile error mentioned at the bottom of that gist).
The problem is that even though my Error type is From<std::io::Error>, ServerProto requires std::io::Error itself, so their is a type mismatch. Interestingly, the streaming ServerProto does appear to have a From<std::io::Error> bound...
The text was updated successfully, but these errors were encountered:
Hey, I was wondering if it is possible to use
error_chain
withtokio_proto
... It looks likestd::io::Error
is hard-coded in a lot of places.For example, I was working through the tutorial, and I had this code (with the compile error mentioned at the bottom of that gist).
The problem is that even though my
Error
type isFrom<std::io::Error>
,ServerProto
requiresstd::io::Error
itself, so their is a type mismatch. Interestingly, the streamingServerProto
does appear to have aFrom<std::io::Error>
bound...The text was updated successfully, but these errors were encountered: