Struct trust_dns_client::udp::UdpClientConnection
source · [−]pub struct UdpClientConnection { /* private fields */ }
Expand description
UDP based DNS Client connection
Use with trust_dns_client::client::Client
impls
Implementations
Creates a new client connection. With a default timeout of 5 seconds
Arguments
name_server
- address of the name server to use for queries
Allows a custom timeout
Trait Implementations
type Sender = UdpClientStream<UdpSocket, Signer>
type Sender = UdpClientStream<UdpSocket, Signer>
The associated DNS RequestSender type.
type SenderFuture = UdpClientConnect<UdpSocket, Signer>
type SenderFuture = UdpClientConnect<UdpSocket, Signer>
A future that resolves to the RequestSender
Construct a new stream for use in the Client
Auto Trait Implementations
impl RefUnwindSafe for UdpClientConnection
impl Send for UdpClientConnection
impl Sync for UdpClientConnection
impl Unpin for UdpClientConnection
impl UnwindSafe for UdpClientConnection
Blanket Implementations
Mutably borrows from an owned value. Read more