pub fn classify_ip(addr: IpAddr) -> Option<BlockClass>Expand description
Synchronous helper — reads the input string as an IP if possible, classifies. Used by tests + by the host-resolver path (each resolved address is fed in here).
pub fn classify_ip(addr: IpAddr) -> Option<BlockClass>Synchronous helper — reads the input string as an IP if possible, classifies. Used by tests + by the host-resolver path (each resolved address is fed in here).