feat: impl ToValue for core::net types (Fixes #711)#721
feat: impl ToValue for core::net types (Fixes #711)#721JonathanWilbur wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
This currently isn't working. It seems that I have to make the Example: @KodrAus since you are the maintainer of the |
Thomasdezeeuw
left a comment
There was a problem hiding this comment.
I'm not sure about this. Where should we draw the line on what to support "natively" vs. using the fmt::Display implementation?
|
Since we capture types using @JonathanWilbur for those missing |
| } | ||
|
|
||
| /// Visit an IP Address | ||
| fn visit_ip_addr(&mut self, value: IpAddr) -> Result<(), Error> { |
There was a problem hiding this comment.
I don't think we should expose visitors for these types, and instead let them fall through to visit_any.
Makes sense to me 👍 |
Fixes #711