[][src]Trait xactor::Service

pub trait Service: Actor + Default {
    fn from_registry() -> Addr<Self> { ... }
}

Trait define a system service.

The system service is a global actor. You can use Actor::from_registry to get the address Addr<A> of the service.

Provided methods

fn from_registry() -> Addr<Self>

Loading content...

Implementors

Loading content...