fn watcher(&self) -> Result<WatcherProxy, Error> {
        let (watching_proxy, watching_server_end) = create_proxy::<WatcherMarker>()?;
        match self.inner.read().state_proxy.as_ref() {
            Some(state) => {
                state.get_watcher(WatcherOptions::EMPTY, watching_server_end)?;
            }
            None => bail!("State proxy is not set!"),
        }
        Ok(watching_proxy)
    }
/// Returns the PairingStateWatcher proxy provided on instantiation.
Returns the PairingStateWatcher proxy provided on instantiation.
Returns the PairingStateWatcher proxy provided on instantiation .
fn watcher(&self) -> Result<WatcherProxy, Error> {
        let (watching_proxy, watching_server_end) = create_proxy::<WatcherMarker>()?;
        match self.inner.read().state_proxy.as_ref() {
            Some(state) => {
                state.get_watcher(WatcherOptions::EMPTY, watching_server_end)?;
            }
            None => bail!("State proxy is not set!"),
        }
        Ok(watching_proxy)
    }
fn watcher ( & self ) -> Result < WatcherProxy , Error > { let ( watching_proxy , watching_server_end ) = create_proxy :: < WatcherMarker > ( ) ? ; match self . inner . read ( ) . state_proxy . as_ref ( ) { Some ( state ) => { state . get_watcher ( WatcherOptions :: EMPTY , watching_server_end ) ? ; } None => bail ! ( " " ) , } Ok ( watching_proxy ) }
Returns the PairingStateWatcher proxy provided on instantiation.
Returns the PairingStateWatcher proxy provided on instantiation .
&self
&self