pub fn validate_ip_address(s: &str) -> Result<(), ValidationError>Expand description
Validate that s parses as either an IPv4 or IPv6 address.
§Errors
ValidationError { code: "invalid_ip_address", ... } when the
value doesn’t parse as either family.