[−][src]Trait inject::provider::RefProvider
Reference provider.
Associated Types
type ProvidedRef: 'static
Required methods
fn provide<'a>(
&'a self,
container: &'a Container
) -> Result<&'a Self::ProvidedRef, InjectError>
&'a self,
container: &'a Container
) -> Result<&'a Self::ProvidedRef, InjectError>
Provides the reference using the Container