Struct trust_dns::client::BasicClientHandle
source · pub struct BasicClientHandle<Resp>where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,{ /* private fields */ }
Expand description
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
sourceimpl<Resp> Clone for BasicClientHandle<Resp>where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
impl<Resp> Clone for BasicClientHandle<Resp>where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
sourceimpl<Resp> DnsHandle for BasicClientHandle<Resp>where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
impl<Resp> DnsHandle for BasicClientHandle<Resp>where
Resp: Future<Item = DnsResponse, Error = ProtoError> + 'static + Send,
type Response = OneshotDnsResponseReceiver<Resp>
type Response = OneshotDnsResponseReceiver<Resp>
The associated response from the response future, this should resolve to the Response message
sourcefn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
fn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
Send a message via the channel in the client Read more
sourcefn is_verifying_dnssec(&self) -> bool
fn is_verifying_dnssec(&self) -> bool
Ony returns true if and only if this DNS handle is validating DNSSec. Read more
Auto Trait Implementations
impl<Resp> !RefUnwindSafe for BasicClientHandle<Resp>
impl<Resp> Send for BasicClientHandle<Resp>
impl<Resp> Sync for BasicClientHandle<Resp>
impl<Resp> Unpin for BasicClientHandle<Resp>
impl<Resp> !UnwindSafe for BasicClientHandle<Resp>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more