The ability to define how external types can be transformed into internal types is very powerful. With a few impls, the readability of error handling has been improved drastically. However, there are other areas that would benefit from this flexibility (event handling comes to mind). My hope is to remove the
FromError trait and add a
From trait. The only change between the two would be the name.
Let me know what you think! If there’s good feedback, I’ll write up an RFC!
Edit: Looking into the standard library, we also have FromPrimitive and FromString traits. Could these be replaced by a general From trait?