Struct trust_dns_client::multicast::MdnsClientConnection
source · pub struct MdnsClientConnection { /* private fields */ }
Available on crate feature
mdns
only.Expand description
MDNS based DNS Client connection
Use with trust_dns_client::client::Client
impls
Implementations§
Trait Implementations§
source§impl ClientConnection for MdnsClientConnection
impl ClientConnection for MdnsClientConnection
§type Sender = DnsMultiplexer<MdnsClientStream, Signer>
type Sender = DnsMultiplexer<MdnsClientStream, Signer>
The associated DNS RequestSender type.
§type SenderFuture = DnsMultiplexerConnect<MdnsClientConnect, MdnsClientStream, Signer>
type SenderFuture = DnsMultiplexerConnect<MdnsClientConnect, MdnsClientStream, Signer>
A future that resolves to the RequestSender
source§fn new_stream(&self, signer: Option<Arc<Signer>>) -> Self::SenderFuture
fn new_stream(&self, signer: Option<Arc<Signer>>) -> Self::SenderFuture
Construct a new stream for use in the Client
source§impl Clone for MdnsClientConnection
impl Clone for MdnsClientConnection
source§fn clone(&self) -> MdnsClientConnection
fn clone(&self) -> MdnsClientConnection
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 moreimpl Copy for MdnsClientConnection
Auto Trait Implementations§
impl RefUnwindSafe for MdnsClientConnection
impl Send for MdnsClientConnection
impl Sync for MdnsClientConnection
impl Unpin for MdnsClientConnection
impl UnwindSafe for MdnsClientConnection
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