cidr::parsers

Function parse_any_cidr_full_ignore_hostbits

source
pub fn parse_any_cidr_full_ignore_hostbits<AP, HP>(
    s: &str,
    address_parser: AP,
    host_parser: HP,
) -> Result<AnyIpCidr, 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.