fidl_fuchsia_net_routes_ext::rules

Function watch

Source
pub async fn watch<'a, I: FidlRuleIpExt>(
    watcher_proxy: &'a <I::RuleWatcherMarker as ProtocolMarker>::Proxy,
) -> Result<Vec<I::RuleEvent>, Error>
Expand description

Calls Watch() on the provided RuleWatcherV4 or RuleWatcherV6 proxy.