Struct notify::poll::PollWatcher
[−]
[src]
pub struct PollWatcher {
// some fields omitted
}Polling based Watcher implementation
Methods
impl PollWatcher[src]
fn with_delay(tx: Sender<Event>, delay: u32) -> Result<PollWatcher>
Create a PollWatcher which polls every delay milliseconds
Trait Implementations
impl Watcher for PollWatcher[src]
fn new(tx: Sender<Event>) -> Result<PollWatcher>
Create a new Watcher
fn watch<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
Begin watching a new path Read more
fn unwatch<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
Stop watching a path Read more