Function is_private_ip
pub fn is_private_ip(addr: impl Into<IpAddr>) -> boolAvailable on crate feature
net only.Expand description
Returns true when the address belongs to a range that should be treated as
private instead of a normal public-Internet destination.