Trait tractor::Actor[][src]

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) { ... } }

Required methods

fn handle(&mut self, msg: Self::Msg, ctx: &Context<Self>)[src]

Loading content...

Provided methods

fn started(&mut self, _ctx: &Context<Self>)[src]

fn stopped(&mut self)[src]

Loading content...

Implementors

Loading content...