pub trait HostNameResolverProxyInterface: Send + Sync {
    type ResolveHostNameResponseFut: Future<Output = Result<Vec<HostAddress>, Error>> + Send;

    // Required method
    fn resolve_host_name(
        &self,
        host: &str,
        timeout: i64,
        options: &HostNameResolutionOptions
    ) -> Self::ResolveHostNameResponseFut;
}

Required Associated Types§

Required Methods§

source

fn resolve_host_name( &self, host: &str, timeout: i64, options: &HostNameResolutionOptions ) -> Self::ResolveHostNameResponseFut

Implementors§