Re-exports§
pub use crate::watcher_state::WatcherInfo;pub use crate::watcher_state::WatcherState;
Structs§
- Burst
Tracker - Tracks event bursts to adaptively extend the debounce window.
- Watcher
Handle - Owns the debouncer and the receiving end of the event channel.
- Watcher
Task Handle - Owned together: signal
stop_token, then bounded-awaittask. See H.1b’sabort_watcher_taskfor 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.