pub type TokioResolver = Resolver<TokioConnectionProvider>;Available on crate feature
tokio only.Expand description
A Resolver used with Tokio
Aliased Type§
struct TokioResolver { /* private fields */ }Implementations§
Source§impl TokioResolver
impl TokioResolver
Sourcepub fn builder_tokio() -> Result<ResolverBuilder<TokioConnectionProvider>, ResolveError>
Available on (Unix or Windows) and crate feature system-config only.
pub fn builder_tokio() -> Result<ResolverBuilder<TokioConnectionProvider>, ResolveError>
system-config only.Constructs a new Tokio based Resolver with the system configuration.
This will use /etc/resolv.conf on Unix OSes and the registry on Windows.