Trait messagebus::LocalBatchHandler[][src]

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

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

Required methods

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

Loading content...

Provided methods

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

Loading content...

Implementors

Loading content...