pub type EventHandler = dyn Fn(WatchEvent);Expand description
A callback function for watch events.
Implement this to customize how events are handled during watching.
pub type EventHandler = dyn Fn(WatchEvent);A callback function for watch events.
Implement this to customize how events are handled during watching.