Function caracat::utilities::parse_as_ipv6
source · pub fn parse_as_ipv6(s: &str) -> Result<Ipv6Addr, AddrParseError>
Expand description
Parse IPv4 and IPv6 addresses as an IPv6 object. IPv4 addresses are converted to IPv4-mapped IPv6 addresses