Trait Service
xactor
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.
Actor::from_registry
Addr<A>
fn from_registry() -> Addr<Self>