Trait actix::registry::ArbiterService[][src]

pub trait ArbiterService: Actor<Context = Context<Self>> + Supervised + Default {
    fn start_service() -> Addr<Self> { ... }
fn service_started(&mut self, ctx: &mut Context<Self>) { ... }
fn from_registry() -> Addr<Self> { ... } }

Trait defines arbiter's service.

Provided Methods

Construct and srtart arbiter service

Method is called during service initialization.

Get actor's address from arbiter registry

Implementors