pub trait EventRestarter<S> {
    fn on_restart(&mut self, _state: &mut S) -> Result<(), Error> { ... }
    fn await_restart_safe(&mut self) { ... }
}
Expand description

Restartable trait

Provided Methods

For restarting event managers, implement a way to forward state to their next peers.

Block until we are safe to exit.

Implementors