Trait ioc::Factory
[−]
[src]
pub trait Factory<Obj: FactoryObject> { type Args; type Error: Debug; fn create(&mut self, args: Self::Args) -> Result<Obj, Self::Error>; }
Associated Types
Required Methods
Implementors
impl<Obj, T: ?Sized> Factory<Obj> for Box<T> where Obj: FactoryObject, T: Factory<Obj>