Struct trust_dns_proto::xfer::retry_dns_handle::RetryDnsHandle
source · pub struct RetryDnsHandle<H: DnsHandle> { /* private fields */ }
Expand description
Can be used to reattempt a queries if they fail
note Current value of this is not clear, it may be removed
Implementations
Trait Implementations
sourceimpl<H: Clone + DnsHandle> Clone for RetryDnsHandle<H>
impl<H: Clone + DnsHandle> Clone for RetryDnsHandle<H>
sourcefn clone(&self) -> RetryDnsHandle<H>
fn clone(&self) -> RetryDnsHandle<H>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<H> DnsHandle for RetryDnsHandle<H>where
H: DnsHandle + 'static,
impl<H> DnsHandle for RetryDnsHandle<H>where
H: DnsHandle + 'static,
type Response = Box<dyn Future<Item = DnsResponse, Error = ProtoError> + Send + 'static, Global>
type Response = Box<dyn Future<Item = DnsResponse, Error = ProtoError> + Send + 'static, Global>
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<H> RefUnwindSafe for RetryDnsHandle<H>where
H: RefUnwindSafe,
impl<H> Send for RetryDnsHandle<H>
impl<H> Sync for RetryDnsHandle<H>where
H: Sync,
impl<H> Unpin for RetryDnsHandle<H>where
H: Unpin,
impl<H> UnwindSafe for RetryDnsHandle<H>where
H: UnwindSafe,
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