Struct trust_dns::BufClientStreamHandle
[−]
[src]
pub struct BufClientStreamHandle { /* fields omitted */ }
A buffering stream bound to a SocketAddr
Methods
impl BufClientStreamHandle
[src]
fn new(name_server: SocketAddr, sender: BufStreamHandle) -> Self
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