Function device_watcher::recursive_wait_and_open
source · pub async fn recursive_wait_and_open<P: ProtocolMarker>(
dir: &DirectoryProxy,
name: &str
) -> Result<P::Proxy>
Expand description
Open the path 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. Does NOT
support fio::DirectoryMarker. Use recursive_wait_and_open_directory() instead.
TODO(https://fxbug.dev/42072966): Specialize this function to support fio::DirectoryMarker