Trait Service
runtime_injector
pub trait Service: Any { }
Implemented automatically on types that are capable of being a service.
impl<T: ?Sized + Any> Service for T