[−][src]Trait xtra::Handler
A trait indicating that an Actor
can handle a given Message
synchronously, and the logic to handle the message.
Required methods
fn handle(&mut self, message: M, ctx: &mut Context<Self>) -> M::Result
Handle a given message, returning its result.