Trait reth_dns_discovery::resolver::Resolver
source · pub trait Resolver:
Send
+ Sync
+ Unpin
+ 'static {
// Required method
fn lookup_txt(
&self,
query: &str,
) -> impl Future<Output = Option<String>> + Send;
}
Expand description
A type that can lookup DNS entries
Required Methods§
Object Safety§
This trait is not object safe.