Skip to main content

parse_ip_to_uint32

Function parse_ip_to_uint32 

Source
pub fn parse_ip_to_uint32(value: &str) -> Option<u32>
Expand description

Parses an IPv4 address into its network-order integer representation.

§Parameters

§Returns

Returns Some when crate::http::parse_ip_to_uint32 can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_core::http::parse_ip_to_uint32("value");
  • crate::http for adjacent helpers that share the same runtime surface.