fidl_fuchsia_net_routes_ext::rules

Function get_rule_watcher

Source
pub fn get_rule_watcher<I: FidlRuleIpExt + FidlRouteIpExt>(
    state_proxy: &<I::StateMarker as ProtocolMarker>::Proxy,
) -> Result<<I::RuleWatcherMarker as ProtocolMarker>::Proxy, WatcherCreationError>
Expand description

Dispatches either GetRuleWatcherV4 or GetRuleWatcherV6 on the state proxy.