Struct notify::poll::PollWatcher [−][src]
pub struct PollWatcher { /* fields omitted */ }
Expand description
Polling based Watcher
implementation
Implementations
impl PollWatcher
[src]
impl PollWatcher
[src]pub fn with_delay(
event_fn: Arc<Mutex<dyn EventFn>>,
delay: Duration
) -> Result<PollWatcher>
[src]
pub fn with_delay(
event_fn: Arc<Mutex<dyn EventFn>>,
delay: Duration
) -> Result<PollWatcher>
[src]Create a PollWatcher which polls every delay
milliseconds
Trait Implementations
impl Drop for PollWatcher
[src]
impl Drop for PollWatcher
[src]impl Watcher for PollWatcher
[src]
impl Watcher for PollWatcher
[src]fn new_immediate<F: EventFn>(event_fn: F) -> Result<PollWatcher>
[src]
fn new_immediate<F: EventFn>(event_fn: F) -> Result<PollWatcher>
[src]Create a new watcher in immediate mode. Read more