Trait actix::Actor [] [src]

pub trait Actor: Sized + 'static {
    fn start(&mut self, ctx: &mut Context<Self>) { ... }
fn finished(&mut self, ctx: &mut Context<Self>) { ... } }

Provided Methods

Method is called when actor get polled first time.

Method is called when context's stream finishes. By default returns ActorStatus::Done.

Implementors