Trait Injectable
rdi
pub trait Injectable<'a> { type Output: 'a; type Injected: 'a; pub fn inject(self, injected: Self::Injected) -> Self::Output; }
Do not implement this manually. Use #[inject] instead.
#[inject]
type Output: 'a
type Injected: 'a
pub fn inject(self, injected: Self::Injected) -> Self::Output