[][src]Trait aimc_hal::messaging::Handler

pub trait Handler<M> {
    type Response;
    fn handle(&mut self, msg: M) -> Self::Response;
}

Something which can handle a request and generate a response.

Associated Types

type Response

The type of response.

Loading content...

Required methods

fn handle(&mut self, msg: M) -> Self::Response

Loading content...

Implementors

Loading content...