pub struct GenericConnection(/* private fields */);
Expand description
A connected DNS handle
Trait Implementations§
Source§impl Clone for GenericConnection
impl Clone for GenericConnection
Source§fn clone(&self) -> GenericConnection
fn clone(&self) -> GenericConnection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DnsHandle for GenericConnection
impl DnsHandle for GenericConnection
Source§type Response = ConnectionResponse
type Response = ConnectionResponse
The associated response from the response stream, this should resolve to the Response messages
Source§fn send<R: Into<DnsRequest> + Unpin + Send + 'static>(
&self,
request: R,
) -> Self::Response
fn send<R: Into<DnsRequest> + Unpin + Send + 'static>( &self, request: R, ) -> Self::Response
Send a message via the channel in the client Read more
Source§fn is_verifying_dnssec(&self) -> bool
fn is_verifying_dnssec(&self) -> bool
Only returns true if and only if this DNS handle is validating DNSSEC. Read more
Source§fn is_using_edns(&self) -> bool
fn is_using_edns(&self) -> bool
Allow for disabling EDNS
Auto Trait Implementations§
impl Freeze for GenericConnection
impl !RefUnwindSafe for GenericConnection
impl Send for GenericConnection
impl Sync for GenericConnection
impl Unpin for GenericConnection
impl !UnwindSafe for GenericConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)