Trait trust_dns_proto::xfer::DnsClientStream
source · [−]pub trait DnsClientStream: Stream<Item = Result<SerialMessage, ProtoError>> + Display + Send {
type Time: Time;
fn name_server_addr(&self) -> SocketAddr;
}
Expand description
A non-multiplexed stream of Serialized DNS messages
Associated Types
Required methods
fn name_server_addr(&self) -> SocketAddr
fn name_server_addr(&self) -> SocketAddr
The remote name server address
Implementors
sourceimpl DnsClientStream for MdnsClientStream
This is supported on crate feature mdns
only.
impl DnsClientStream for MdnsClientStream
This is supported on crate feature
mdns
only.