[][src]Crate external_ip

Crate to figure out the system external IP

Structs

Consensus

Consensus system that aggregates the various sources of information and returns the most common reply

ConsensusBuilder

Consensus builder

DNSSource

DNS Source of the external ip

HTTPSource

HTTP(s) Source of the external ip

IGD

IGD Source of the external ip

Enums

Error
QueryType

Traits

Source

Interface for any kind of external ip source

Functions

get_dns_sources

Returns a collection of DNS sources to use to retrieve the external ip

get_http_sources

Returns a collection of HTTP(s) sources to use to retrieve the external ip

get_ip

For ease of use a single async function is enough to obtain the IP trying with all the default sources enabled.

get_sources

Returns a collection of all possible sources

Type Definitions

IpFuture
IpResult
Sources

Type alias for easier usage of the library