pub trait DnsClientStream:
Stream<Item = Result<SerialMessage, ProtoError>>
+ Display
+ Send {
type Time: Time;
// Required method
fn name_server_addr(&self) -> SocketAddr;
}
Available on crate feature
std
only.Expand description
A non-multiplexed stream of Serialized DNS messages
Required Associated Types§
Required Methods§
Sourcefn name_server_addr(&self) -> SocketAddr
fn name_server_addr(&self) -> SocketAddr
The remote name server address
Implementors§
Source§impl DnsClientStream for MdnsClientStream
Available on crate features tokio
and mdns
only.
impl DnsClientStream for MdnsClientStream
Available on crate features
tokio
and mdns
only.