Function |as_ipv6
net/ip::|as_ipv6
Usage
|as_ipv6(ip)
Parameters
↳ ip: Ip (net/ip::Ip)
Return
↴ Option<Ipv6>
Extract the Ipv6 address from a generic Ip, or none if it is an IPv4 address.
net/ip::|as_ipv6
|as_ipv6(ip)
↳ ip: Ip (net/ip::Ip)
↴ Option<Ipv6>
Extract the Ipv6 address from a generic Ip, or none if it is an IPv4 address.