Trait Actor
tractor
pub trait Actor: ActorReceiver { fn handle(&mut self, msg: Self::Msg, ctx: &Context<Self>); fn started(&mut self, _ctx: &Context<Self>) { ... } fn stopped(&mut self) { ... } }
fn handle(&mut self, msg: Self::Msg, ctx: &Context<Self>)
fn started(&mut self, _ctx: &Context<Self>)
fn stopped(&mut self)