Skip to main content

Module watcher

Module watcher 

Source

Re-exports§

pub use crate::watcher_state::WatcherInfo;
pub use crate::watcher_state::WatcherState;

Structs§

BurstTracker
Tracks event bursts to adaptively extend the debounce window.
WatcherHandle
Owns the debouncer and the receiving end of the event channel.
WatcherTaskHandle
Owned together: signal stop_token, then bounded-await task. See H.1b’s abort_watcher_task for the canonical shutdown sequence.

Functions§

restart_watcher
Spawn a new watcher task.
run_watcher
run_watcher_with_stop
Main watcher supervision loop. Spawned as a background tokio task by main.rs.