pub trait Notificator<T> {
    fn notify(&self, item: &T) -> Result<()>;
}
Expand description

A Notificator provides a function that can be called to notify about a certain object.

TODO

The user of the library does not get access to the notification handle. This is not optimal, but enough for today.

Required Methods

Implementors