Trait messagebus::SynchronizedHandler[][src]

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

    fn sync(&mut self, _bus: &Bus) -> Result<()> { ... }
}

Required methods

fn handle(&mut self, msg: M, bus: &Bus) -> Result<()>[src]

Loading content...

Provided methods

fn sync(&mut self, _bus: &Bus) -> Result<()>[src]

Loading content...

Implementors

Loading content...