Function remove_watch

fn remove_watch<Fd: AsFd>(inot: Fd, wd: i32) -> Result<()>

inotify_rm_watch(self, wd)—Removes a watch from this inotify.

The watch descriptor provided should have previously been returned by inotify::add_watch and not previously have been removed.