dns_server_watcher

Function new_dns_server_stream

Source
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.