pub enum DebouncedEventBatch {
Events(Vec<DebouncedEvent>),
Rescan,
}Expand description
A notification from the mini debouncer.
Handle Self::Rescan before applying path or event-kind filters to Self::Events.
Variants§
Events(Vec<DebouncedEvent>)
A batch of debounced path changes.
Rescan
Events were missed or can no longer describe the current filesystem state reliably.
Refresh any cached filesystem state for all watched paths. This notification applies to the entire watcher, regardless of any paths attached to the original event. It is delivered without waiting for the debounce timeout. Pending path changes remain queued and are delivered according to their usual debounce deadlines.
Trait Implementations§
Source§impl Clone for DebouncedEventBatch
impl Clone for DebouncedEventBatch
Source§impl Debug for DebouncedEventBatch
impl Debug for DebouncedEventBatch
impl Eq for DebouncedEventBatch
Source§impl Hash for DebouncedEventBatch
impl Hash for DebouncedEventBatch
Source§impl PartialEq for DebouncedEventBatch
impl PartialEq for DebouncedEventBatch
impl StructuralPartialEq for DebouncedEventBatch
Auto Trait Implementations§
impl Forget for DebouncedEventBatch
impl Freeze for DebouncedEventBatch
impl Move for DebouncedEventBatch
impl RefUnwindSafe for DebouncedEventBatch
impl Send for DebouncedEventBatch
impl Sync for DebouncedEventBatch
impl Unpin for DebouncedEventBatch
impl UnsafeUnpin for DebouncedEventBatch
impl UnwindSafe for DebouncedEventBatch
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