pub trait Service: Actor + Default {
    const NAME: &'static str;
}
This is supported on crate features runtime-tokio or runtime-async-std only.
Expand description

Extension of an Actor that can be managed by Registry.

Associated Constants

Service name.

Note: All the service names must be unique. Having two services with the same name may result in Registry::service function panic.

Implementors