pub fn cidr(net: &str) -> IpNetwork
Converts a string to an IpNetwork, panicking on failure.
IpNetwork