Trait notify::Watcher [-] [+] [src]

pub trait Watcher {
    fn new(Sender<Event>) -> Result<Self, Error>;
    fn watch(&mut self, &Path) -> Result<(), Error>;
    fn unwatch(&mut self, &Path) -> Result<(), Error>;
}

Required Methods

fn new(Sender<Event>) -> Result<Self, Error>

fn watch(&mut self, &Path) -> Result<(), Error>

fn unwatch(&mut self, &Path) -> Result<(), Error>

Implementors