Trait Handler
ak::actor
pub trait Handler<M: Message>: Actor { type Future: Future<Output = M::Result> + 'static; fn handle(self: ContextRef<Self>, msg: M) -> Self::Future; }
type Future: Future<Output = M::Result> + 'static
fn handle(self: ContextRef<Self>, msg: M) -> Self::Future