fidl_fuchsia_net_routes_ext

Function get_watcher

Source
pub fn get_watcher<I: FidlRouteIpExt>(
    state_proxy: &<I::StateMarker as ProtocolMarker>::Proxy,
    options: WatcherOptions,
) -> Result<<I::WatcherMarker as ProtocolMarker>::Proxy, WatcherCreationError>
Expand description

Dispatches either GetWatcherV4 or GetWatcherV6 on the state proxy.