Trait notify::Watcher
[−]
[src]
pub trait Watcher: Sized { fn new(Sender<Event>) -> Result<Self, Error>; fn watch<P: AsRef<Path>>(&mut self, P) -> Result<(), Error>; fn unwatch<P: AsRef<Path>>(&mut self, P) -> Result<(), Error>; }
Required Methods
fn new(Sender<Event>) -> Result<Self, Error>
fn watch<P: AsRef<Path>>(&mut self, P) -> Result<(), Error>
fn unwatch<P: AsRef<Path>>(&mut self, P) -> Result<(), Error>
Implementors
impl Watcher for ReadDirectoryChangesWatcher
impl Watcher for NullWatcher
impl Watcher for PollWatcher