chore: rename {Abstract} back
This commit is contained in:
@@ -26,7 +26,7 @@ use crate::lookup::{self, Lookup, LookupEither, LookupFuture};
|
||||
use crate::lookup_ip::{LookupIp, LookupIpFuture};
|
||||
#[cfg(feature = "tokio-runtime")]
|
||||
use crate::name_server::TokioRuntimeProvider;
|
||||
use crate::name_server::{AbstractNameServerPool, RuntimeProvider};
|
||||
use crate::name_server::{NameServerPool, RuntimeProvider};
|
||||
|
||||
use crate::Hosts;
|
||||
|
||||
@@ -192,8 +192,7 @@ impl<P: RuntimeProvider> AsyncResolver<P> {
|
||||
/// documentation for `AsyncResolver` for more information on how to use
|
||||
/// the background future.
|
||||
pub fn new_with_conn(config: ResolverConfig, options: ResolverOpts, conn_provider: P) -> Self {
|
||||
let pool =
|
||||
AbstractNameServerPool::from_config_with_provider(&config, &options, conn_provider);
|
||||
let pool = ServerPool::from_config_with_provider(&config, &options, conn_provider);
|
||||
let either;
|
||||
let client = RetryDnsHandle::new(pool, options.attempts);
|
||||
if options.validate {
|
||||
|
Reference in New Issue
Block a user