Function url::host::parse_ipv4number

source ยท
fn parse_ipv4number(input: &str) -> Result<Option<u32>, ()>
Expand description

https://url.spec.whatwg.org/#ipv4-number-parser Ok(None) means the input is a valid number, but it overflows a u32.