logo
pub trait Handler<T> {
    fn handle(&mut self, _data: T) -> Result<(), Box<dyn Error>>;
}
Expand description

A callable that can be used to hook into watchexec.

Required Methods

Call the handler with the given data.

Implementations on Foreign Types

Implementors