device_watcher

Function recursive_wait_and_open

Source
pub async fn recursive_wait_and_open<P: ProtocolMarker>(
    dir: &DirectoryProxy,
    name: &str,
) -> Result<P::Proxy>
Expand description

Connect to an instance of FIDL protocol hosted at name within dir. This function waits for each directory to be available before it opens it. If the path never appears this function will wait forever.