Function public_ip::addr_v6[][src]

pub async fn addr_v6() -> Option<Ipv6Addr>
This is supported on crate features dns-resolver or http-resolver only.
Expand description

Attempts to produce an IPv6 address with all builtin resolvers (best effort).

This function will attempt to resolve until the stream is empty and will drop/ignore any resolver errors.