Struct trust_dns_proto::xfer::BufDnsStreamHandle [−][src]
pub struct BufDnsStreamHandle<E> where
E: FromProtoError, { /* fields omitted */ }A buffering stream bound to a SocketAddr
Methods
impl<E> BufDnsStreamHandle<E> where
E: FromProtoError, [src]
impl<E> BufDnsStreamHandle<E> where
E: FromProtoError, pub fn new(name_server: SocketAddr, sender: BufStreamHandle<E>) -> Self[src]
pub fn new(name_server: SocketAddr, sender: BufStreamHandle<E>) -> SelfConstructs 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
impl<E> DnsStreamHandle for BufDnsStreamHandle<E> where
E: FromProtoError, [src]
impl<E> DnsStreamHandle for BufDnsStreamHandle<E> where
E: FromProtoError, Auto Trait Implementations
impl<E> Send for BufDnsStreamHandle<E>
impl<E> Send for BufDnsStreamHandle<E>impl<E> Sync for BufDnsStreamHandle<E> where
E: Sync,
impl<E> Sync for BufDnsStreamHandle<E> where
E: Sync,