Crate device_watcher

source ·

Structs

Functions

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.