Function public_ip::resolve[][src]

pub fn resolve<'r>(
    resolver: impl Resolver<'r>,
    version: Version
) -> Resolutions<'r>
Expand description

Given a Resolver and requested Version, produces a stream of Resolutions.

This function also protects against a resolver returning a IP address with a version that was not requested.