pub type ResolveFn = fn(&str, u16) -> Result<Vec<SocketAddr>>;Expand description
How a host is turned into addresses. A plain fn pointer, not a
trait object: the only production implementation is std_resolve,
and the seam exists so a test can install a hostile resolver that
answers the guard and the dial differently — the rebinding shape this
module has to survive.