Enum ate::dns::DnsClient [−][src]
pub enum DnsClient {
Dns {
cfg: ConfAte,
client: MemoizeClientHandle<AsyncClient>,
},
DnsSec {
cfg: ConfAte,
client: DnssecDnsHandle<MemoizeClientHandle<AsyncClient>>,
},
}Variants
Dns
DnsSec
Implementations
pub async fn query(
&mut self,
name: Name,
query_class: DNSClass,
query_type: RecordType
) -> Result<DnsResponse, ClientError>
Auto Trait Implementations
impl !RefUnwindSafe for DnsClient
impl !UnwindSafe for DnsClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
