[][src]Trait messagebus::SynchronizedHandler

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

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

Required methods

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

Loading content...

Provided methods

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

Loading content...

Implementors

Loading content...