Struct trust_dns::client::BasicClientHandle [−][src]
pub struct BasicClientHandle<Resp> where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send, { /* fields omitted */ }
Root ClientHandle implementaton returned by ClientFuture
This can be used directly to perform queries. See trust_dns::client::SecureClientHandle
for
a DNSSEc chain validator.
Trait Implementations
impl<Resp> DnsHandle for BasicClientHandle<Resp> where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
[src]
impl<Resp> DnsHandle for BasicClientHandle<Resp> where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
type Response = OneshotDnsResponseReceiver<Resp>
The associated response from the response future, this should resolve to the Response message
fn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
[src]
fn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
Send a message via the channel in the client Read more
fn is_verifying_dnssec(&self) -> bool
[src]
fn is_verifying_dnssec(&self) -> bool
Ony returns true if and only if this DNS handle is validating DNSSec. Read more
fn lookup(&mut self, query: Query, options: DnsRequestOptions) -> Self::Response
[src]
fn lookup(&mut self, query: Query, options: DnsRequestOptions) -> Self::Response
A classic DNS query Read more
impl<Resp> Clone for BasicClientHandle<Resp> where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
[src]
impl<Resp> Clone for BasicClientHandle<Resp> where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
Auto Trait Implementations
impl<Resp> Send for BasicClientHandle<Resp>
impl<Resp> Send for BasicClientHandle<Resp>
impl<Resp> Sync for BasicClientHandle<Resp>
impl<Resp> Sync for BasicClientHandle<Resp>