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

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

Trait defines arbiter's service.

Provided methods

pub fn start_service() -> Addr<Self>[src]

Construct and start arbiter service

pub fn service_started(&mut self, ctx: &mut Context<Self>)[src]

Method is called during service initialization.

pub fn from_registry() -> Addr<Self>[src]

Get actor's address from arbiter registry

Loading content...

Implementors

impl<T: ArbiterService> ArbiterService for Mocker<T>[src]

Loading content...