Struct notify::poll::PollWatcher
source · [−]pub struct PollWatcher { /* private fields */ }
Expand description
Polling based Watcher
implementation
Implementations
sourceimpl PollWatcher
impl PollWatcher
sourcepub fn with_delay_ms(tx: Sender<RawEvent>, delay: u32) -> Result<PollWatcher>
pub fn with_delay_ms(tx: Sender<RawEvent>, delay: u32) -> Result<PollWatcher>
Create a PollWatcher which polls every delay
milliseconds
Trait Implementations
sourceimpl Drop for PollWatcher
impl Drop for PollWatcher
sourceimpl Watcher for PollWatcher
impl Watcher for PollWatcher
sourcefn new_raw(tx: Sender<RawEvent>) -> Result<PollWatcher>
fn new_raw(tx: Sender<RawEvent>) -> Result<PollWatcher>
Create a new watcher in raw mode. Read more
sourcefn new(tx: Sender<DebouncedEvent>, delay: Duration) -> Result<PollWatcher>
fn new(tx: Sender<DebouncedEvent>, delay: Duration) -> Result<PollWatcher>
Create a new debounced watcher with a delay
. Read more
impl Sync for PollWatcher
Auto Trait Implementations
impl !RefUnwindSafe for PollWatcher
impl Send for PollWatcher
impl Unpin for PollWatcher
impl !UnwindSafe for PollWatcher
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more