It would be nice if this could be used instead of FromPrimitive, ToPrimitive, FromStr, etc. However, those methods return the result wrapped in an Option, but FromError doesn’t. Should the generic From trait wrap the return value in an Option, or not? If not, it would mean that this couldn’t be used as a replacement for FromPrimitive etc.
I have some code in a linear algebra library that would be greatly simplified by something like this. I have a Vector3<T> struct and I sometimes need to convert between different T. AFAIK, it’s not currently easy to write a generic method to do the conversion, and it sounds like this proposal could help.