Struct trust_dns_proto::xfer::BufDnsRequestStreamHandle
source · pub struct BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send,{ /* private fields */ }
Expand description
Used for assiacting a name_server to a DnsRequestStreamHandle
Implementations
sourceimpl<F> BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send,
impl<F> BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send,
sourcepub fn new(sender: DnsRequestStreamHandle<F>) -> Self
pub fn new(sender: DnsRequestStreamHandle<F>) -> Self
Construct a new BufDnsRequestStreamHandle
Trait Implementations
sourceimpl<F> Clone for BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send,
impl<F> Clone for BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send,
sourceimpl<F> DnsHandle for BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send + 'static,
impl<F> DnsHandle for BufDnsRequestStreamHandle<F>where
F: Future<Item = DnsResponse, Error = ProtoError> + Send + 'static,
type Response = OneshotDnsResponseReceiver<F>
type Response = OneshotDnsResponseReceiver<F>
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<F> !RefUnwindSafe for BufDnsRequestStreamHandle<F>
impl<F> Send for BufDnsRequestStreamHandle<F>
impl<F> Sync for BufDnsRequestStreamHandle<F>
impl<F> Unpin for BufDnsRequestStreamHandle<F>
impl<F> !UnwindSafe for BufDnsRequestStreamHandle<F>
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