pub trait Handler<T> { fn handle(&mut self, _data: T) -> Result<(), Box<dyn Error>>; }
A callable that can be used to hook into watchexec.
Call the handler with the given data.