Struct notify::poll::PollWatcher
source · 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 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