Crate external_ip

source ·
Expand description

Crate to figure out the system external IP

Structs§

Enums§

Traits§

  • Interface for any kind of external ip source

Functions§

  • Returns a collection of DNS sources to use to retrieve the external ip
  • Returns a collection of HTTP(s) sources to use to retrieve the external ip
  • get_ipDeprecated
    For ease of use a single async function is enough to obtain the IP trying with all the default sources enabled.
  • For ease of use a single async function is enough to obtain the IPv4 trying with all the default sources enabled.
  • For ease of use a single async function is enough to obtain the IPv6 trying with all the default sources enabled.
  • Returns a collection of all possible sources

Type Aliases§