pub fn new_dns_server_stream(
source: DnsServersUpdateSource,
proxy: DnsServerWatcherProxy,
) -> impl Stream<Item = (DnsServersUpdateSource, Result<Vec<DnsServer_>, Error>)>
Expand description
Returns a Stream
of [DnsServerWatcherEvent
]s from watching the server configuration
provided by proxy
.