Crate device_watcher

source ·

Structs§

Functions§

  • Wait for name to be available in dir. This function waits for each directory along the path and returns once it has waited on the final component in the path. If the path never appears this function will wait forever.
  • 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.
  • 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.
  • Watches the directory for a device for which the predicate returns Some(t) and returns t.
  • Returns a stream that contains the paths of any existing files and directories in dir and any new files or directories created after this function was invoked. These paths are relative to dir.