Struct notify::poll::PollWatcher
[−]
[src]
pub struct PollWatcher { /* fields omitted */ }
Polling based Watcher
implementation
Methods
impl PollWatcher
[src]
fn with_delay_ms(tx: Sender<RawEvent>, delay: u32) -> Result<PollWatcher>
[−]
Create a PollWatcher which polls every delay
milliseconds
Trait Implementations
impl Watcher for PollWatcher
[src]
fn new_raw(tx: Sender<RawEvent>) -> Result<PollWatcher>
[−]
Create a new watcher in raw mode. Read more
fn new(tx: Sender<DebouncedEvent>, delay: Duration) -> Result<PollWatcher>
[−]
Create a new debounced watcher with a delay
. Read more
fn watch<P: AsRef<Path>>(
&mut self,
path: P,
recursive_mode: RecursiveMode
) -> Result<()>
[−]
&mut self,
path: P,
recursive_mode: RecursiveMode
) -> Result<()>
Begin watching a new path. Read more
fn unwatch<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
[−]
Stop watching a path. Read more