Struct trust_dns_proto::BasicDnsHandle
[−]
[src]
pub struct BasicDnsHandle<E: FromProtoError> { /* fields omitted */ }
Root DnsHandle implementaton returned by DnsFuture
This can be used directly to perform queries. See trust_dns::client::SecureDnsHandle
for
a DNSSEc chain validator.
Trait Implementations
impl<E: Clone + FromProtoError> Clone for BasicDnsHandle<E>
[src]
fn clone(&self) -> BasicDnsHandle<E>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<E> DnsHandle for BasicDnsHandle<E> where
E: FromProtoError + 'static,
[src]
E: FromProtoError + 'static,
type Error = E
The associated error type returned by future send operations
fn send(
&mut self,
message: Message
) -> Box<Future<Item = Message, Error = Self::Error>>
[src]
&mut self,
message: Message
) -> Box<Future<Item = Message, Error = Self::Error>>
Send a message via the channel in the client Read more
fn is_verifying_dnssec(&self) -> bool
[src]
Ony returns true if and only if this DNS handle is validating DNSSec. Read more
fn lookup(
&mut self,
query: Query
) -> Box<Future<Item = Message, Error = Self::Error>>
[src]
&mut self,
query: Query
) -> Box<Future<Item = Message, Error = Self::Error>>
A classic DNS query Read more