pub fn parse_any_cidr_full_ignore_hostbits<AP, HP>(
s: &str,
address_parser: AP,
host_parser: HP,
) -> Result<AnyIpCidr, NetworkParseError>where
AP: FnOnce(&str) -> Result<IpAddr, AddrParseError>,
HP: FnOnce(&str) -> Result<IpCidr, NetworkParseError>,
Expand description
Parse AnyIpCidr
with custom address and network (when no ‘/’ separator was found) parser
Similar to parse_any_cidr_full
but ignores host bits in addresses.