Trait tokio_dns::Resolver [−][src]
The Resolver trait represents an object capable of resolving host names into IP addresses.
Required Methods
fn resolve(&self, host: &str) -> IoFuture<Vec<IpAddr>>
Given a host name, this function returns a Future which will eventually produce a list of IP addresses.
Implementors
impl Resolver for CpuPoolResolver