Closed
Description
Here are some impls if TryFrom
that I'd like to see. I checked against the documentation, not current git master. I'm sorry, if some are already resolved.
-
TryFrom<&str> for numeric types
(parsing) -
TryFrom<String> for numeric types
(the benefit of this is that if you generically bound byTryFrom<String>
, you may save allocation in case ofTryFrom<String> for String
-
TryFrom<OsStr> for numeric types
(useful for parsing args_os or env_os) -
TryFrom<OsString> for numeric types
- all above combinations for IP addresses
- probably many more I don't remember right now