Trait ioc::Method [] [src]

pub trait Method<'a, Cont> where Cont: Container<'a> {
    type Ret;
    fn resolve(ioc: &'a Cont) -> Result<Self::Ret, Error<'a, Cont::Key>>;
}

Associated Types

type Ret

Required Methods

fn resolve(ioc: &'a Cont) -> Result<Self::Ret, Error<'a, Cont::Key>>

Implementors