Struct notify::poll::PollWatcher [−][src]
pub struct PollWatcher { /* fields omitted */ }
Expand description
Polling based Watcher
implementation
Implementations
pub fn with_delay(
event_handler: Arc<Mutex<dyn EventHandler>>,
delay: Duration
) -> Result<PollWatcher>
pub fn with_delay(
event_handler: Arc<Mutex<dyn EventHandler>>,
delay: Duration
) -> Result<PollWatcher>
Create a PollWatcher which polls every delay
milliseconds
Trait Implementations
Create a new PollWatcher.
Begin watching a new path. Read more