[][src]Trait messagebus::BatchHandler

pub trait BatchHandler<M: Message>: Send + Sync {
    pub fn handle(&self, msg: Vec<M>, bus: &Bus) -> Result<()>;

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

Required methods

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

Loading content...

Provided methods

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

Loading content...

Implementors

Loading content...