Struct trust_dns_proto::xfer::BufDnsStreamHandle
source · [−]pub struct BufDnsStreamHandle { /* private fields */ }
Expand description
A buffering stream bound to a SocketAddr
Implementations
Constructs a new Buffered Stream Handle, used for sending data to the DNS peer.
Arguments
name_server
- the address of the DNS serversender
- the handle being used to send data to the server
Trait Implementations
Sends a message to the Handle for delivery to the server.