pub struct Container { /* private fields */ }Implementations
pub fn bind_singleton<InjTraitType, ActType>(self) -> Self where
InjTraitType: 'static + Sized,
ActType: Injectable<InjTraitType> + 'static,
pub fn bind_transient<InjTraitType, ActType>(self) -> Self where
InjTraitType: 'static + Sized,
ActType: Injectable<InjTraitType> + 'static,
pub fn resolve<InjTraitType>(&self) -> Result<InjTraitType, InjectionError> where
InjTraitType: 'static + Clone,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Container
impl !UnwindSafe for Container
Blanket Implementations
Mutably borrows from an owned value. Read more