[−][src]Trait xactor::Service
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<'async_trait>(
) -> Pin<Box<dyn Future<Output = Addr<Self>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
) -> Pin<Box<dyn Future<Output = Addr<Self>> + Send + 'async_trait>> where
Self: Send + 'async_trait,