Expand description
Filesystem watching with debouncing and event coalescing.
This module providers a generic filesystem watcher, which can be used in various contexts.
It handles the complexity of “debouncing” (waiting for a quiet period)
and “coalescing” (merging multiple rapid events, like Create+Modify)
to prevent the secret manager from thrashing or performing redundant updates.
Implementers provide a EventHandler trait to specify which paths to watch
and how to handle the resulting events.
Structs§
- Debounce
Duration - Debounce duration wrapper to support human-readable parsing and sane defaults for watcher
- FsWatcher
- A Filesystem watcher that manages the lifecycle of event collection, debouncing, and flushing.