summaryrefslogtreecommitdiffstats
path: root/tokio/tests/net_lookup_host.rs
AgeCommit message (Collapse)Author
2019-12-21dns: provide `lookup_host` function (#1870)David Barsky
`ToSocketAddrs` is a sealed trait pending changes in Rust that will allow defining async trait fns. Until then, `net::lookup_host` is provided as a way to convert a `T: ToSocketAddrs` into `SocketAddr`s.