diff options
Diffstat (limited to 'src/network/dns/resolver.rs')
-rw-r--r-- | src/network/dns/resolver.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/network/dns/resolver.rs b/src/network/dns/resolver.rs index 4c43975..c8a19f7 100644 --- a/src/network/dns/resolver.rs +++ b/src/network/dns/resolver.rs @@ -1,9 +1,11 @@ +use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}; + use async_trait::async_trait; -use std::net::IpAddr; -use std::net::SocketAddr; -use std::net::{Ipv4Addr, SocketAddrV4}; -use trust_dns_resolver::config::{NameServerConfig, Protocol, ResolverConfig, ResolverOpts}; -use trust_dns_resolver::{error::ResolveErrorKind, TokioAsyncResolver}; +use trust_dns_resolver::{ + config::{NameServerConfig, Protocol, ResolverConfig, ResolverOpts}, + error::ResolveErrorKind, + TokioAsyncResolver, +}; #[async_trait] pub trait Lookup { |