Struct fibers_inotify::InotifyServiceHandle
[−]
[src]
pub struct InotifyServiceHandle { /* fields omitted */ }
Handle of InotifyService
.
Methods
impl InotifyServiceHandle
[src]
fn watch<P: AsRef<Path>>(&self, path: P, mask: WatchMask) -> Watcher
[src]
Makes a new Watcher
that watches path
with the given mask.
If the inode indicated by the path has already been watched by other watchers,
the one of existing watcher will be got kicked out and the new one will be added instead.
After that the service will create new inotify instance (i.e., file descriptor) and
re-add the victim watcher to it.
In that case the re-added watcher will receive the event WatcherEvent::RestartWatching
.
Trait Implementations
impl Debug for InotifyServiceHandle
[src]
impl Clone for InotifyServiceHandle
[src]
fn clone(&self) -> InotifyServiceHandle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more