-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello
I wonder what the motivation behind the NetworkSize is. As I understand, the purpose of the IpNetwork enum is to generalize handling of both IPv4 and IPv6 networks. If it is so, why doesn't IpNetwork::size simply return u128? The NetworkSize isn't smaller, doesn't have many traits (eg. can't be summed together, doesn't have a Display implementation, doesn't support comparing to literals well…
Anyway, thank you for working on this, it is something I've stumbled upon multiple times that I'd like to have.
lucab
Metadata
Metadata
Assignees
Labels
No labels