pub trait NamedService {
const NAME: &'static str;
}
Expand description
A trait to provide a static reference to the service’s name. This is used for routing service’s within the router.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.