cidr_map

Function parse_cidr

source
pub fn parse_cidr(s: &str) -> Result<AnyIpCidr>
Expand description

The underlying AnyIpCidr::from_str parser is very strict and its error messages are a little too terse. We use this alternative parser to augment the error messages with more context and suggestions.