Trait SynchronizedHandler
messagebus
pub trait SynchronizedHandler<M: Message>: Send { fn handle(&mut self, msg: M, bus: &Bus) -> Result<()>; fn sync(&mut self, _bus: &Bus) -> Result<()> { ... } }
fn handle(&mut self, msg: M, bus: &Bus) -> Result<()>
fn sync(&mut self, _bus: &Bus) -> Result<()>