pub struct PollWatcher { /* private fields */ }Expand description
Polling based Watcher implementation
Implementations§
Source§impl 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§
Source§impl Drop for PollWatcher
impl Drop for PollWatcher
Source§impl Watcher for PollWatcher
impl Watcher for PollWatcher
Source§fn new_raw(tx: Sender<RawEvent>) -> Result<PollWatcher>
fn new_raw(tx: Sender<RawEvent>) -> Result<PollWatcher>
Create a new watcher in raw mode. Read more
Source§fn 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 moreimpl Sync for PollWatcher
Auto Trait Implementations§
impl Freeze for PollWatcher
impl RefUnwindSafe for PollWatcher
impl Send for PollWatcher
impl Unpin for PollWatcher
impl UnwindSafe for PollWatcher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more