pub trait NamedService { const NAME: &'static str; }
A trait to provide a static reference to the service’s name. This is used for routing service’s within the router.
The Service-Name as described here.
Service-Name