Function ip_scope
pub fn ip_scope(addr: impl Into<IpAddr>) -> IpScopesAvailable on crate feature
net only.Expand description
Classify addr into the special-use IpScopes it belongs to.
Returns a single bit; IpScopes::GLOBAL for ordinary public addresses.