fn open_child(
        &self,
        child_name: &str,
        server_end: ServerEnd<InspectMarker>,
    ) -> Result<bool, Error> {
        match self.current_node.lock().get_child(child_name) {
            None => Ok(false),
            Some(child_node) => {
                let server_chan = fasync::Channel::from_channel(server_end.into_channel())?;
                InspectService::new(child_node, server_chan);
                Ok(true)
            }
        }
    }
// Serves a new connection on the given ServerEnd that can be used to interact with the named
// child.
Serves a new connection on the given ServerEnd that can be used to interact with the named
child.
Serves a new connection on the given ServerEnd that can be used to interact with the named child .
fn open_child(
        &self,
        child_name: &str,
        server_end: ServerEnd<InspectMarker>,
    ) -> Result<bool, Error> {
        match self.current_node.lock().get_child(child_name) {
            None => Ok(false),
            Some(child_node) => {
                let server_chan = fasync::Channel::from_channel(server_end.into_channel())?;
                InspectService::new(child_node, server_chan);
                Ok(true)
            }
        }
    }
fn open_child ( & self , child_name : & str , server_end : ServerEnd < InspectMarker > , ) -> Result < bool , Error > { match self . current_node . lock ( ) . get_child ( child_name ) { None => Ok ( false ) , Some ( child_node ) => { let server_chan = fasync :: Channel :: from_channel ( server_end . into_channel ( ) ) ? ; InspectService :: new ( child_node , server_chan ) ; Ok ( true ) } } }
Serves a new connection on the given ServerEnd that can be used to interact with the named
child.
Serves a new connection on the given ServerEnd that can be used to interact with the named child .
&self
child_name
&str
server_end
ServerEnd<InspectMarker>
&self
child_name
&str
server_end
ServerEnd<InspectMarker>