pub async fn addr_with( resolver: impl Resolver<'_>, version: Version) -> Option<IpAddr>
Given a Resolver and requested Version, attempts to produce an IP address (best effort).
Resolver
Version
This function will attempt to resolve until the stream is empty and will drop/ignore any resolver errors.