pub fn create_interface_watcher(&self) -> anyhow::Result<fnet_interfaces::WatcherProxy> {
        let (watcher, watcher_server) =
            fidl::endpoints::create_proxy::<fnet_interfaces::WatcherMarker>()
                .context("failed to create fuchsia.net.interfaces/Watcher proxy")?;
        let () = self
            .interface_state
            .get_watcher(
                fnet_interfaces::WatcherOptions { ..fnet_interfaces::WatcherOptions::EMPTY },
                watcher_server,
            )
            .context("failed to call fuchsia.net.interfaces/State.get_watcher")?;
        Ok(watcher)
    }
/// Returns an interface watcher client proxy.
Returns an interface watcher client proxy.
Returns an interface watcher client proxy .
pub fn create_interface_watcher(&self) -> anyhow::Result<fnet_interfaces::WatcherProxy> {
        let (watcher, watcher_server) =
            fidl::endpoints::create_proxy::<fnet_interfaces::WatcherMarker>()
                .context("failed to create fuchsia.net.interfaces/Watcher proxy")?;
        let () = self
            .interface_state
            .get_watcher(
                fnet_interfaces::WatcherOptions { ..fnet_interfaces::WatcherOptions::EMPTY },
                watcher_server,
            )
            .context("failed to call fuchsia.net.interfaces/State.get_watcher")?;
        Ok(watcher)
    }
pub fn create_interface_watcher ( & self ) -> anyhow :: Result < fnet_interfaces :: WatcherProxy > { let ( watcher , watcher_server ) = fidl :: endpoints :: create_proxy :: < fnet_interfaces :: WatcherMarker > ( ) . context ( " " ) ? ; let ( ) = self . interface_state . get_watcher ( fnet_interfaces :: WatcherOptions { .. fnet_interfaces :: WatcherOptions :: EMPTY } , watcher_server , ) . context ( " " ) ? ; Ok ( watcher ) }
Returns an interface watcher client proxy.
Returns an interface watcher client proxy .
&self
&self