Trait ioc::InvocationMethod [] [src]

pub trait InvocationMethod<'a, Key = String, Base: ?Sized = DefaultBase> where Key: Debug + Ord, Base: Any {
    type Args;
    type Ret;
    type Error: Debug;
    fn invoke(services: &'a BTreeMap<Key, RwLock<Box<Base>>>, args: Self::Args) -> Result<Self::Ret, Self::Error>;
}

TODO naming? Invocation?

Associated Types

type Args

type Ret

type Error: Debug

Required Methods

fn invoke(services: &'a BTreeMap<Key, RwLock<Box<Base>>>, args: Self::Args) -> Result<Self::Ret, Self::Error>

Implementors