Trait Service
ioc
pub trait Service: Any + Sized { type Key: Key; fn key() -> &'static Self::Key; }
type Key: Key
fn key() -> &'static Self::Key