Struct ioc::ReadAll [] [src]

pub struct ReadAll(_);

Trait Implementations

impl<'a, Key, Base: ?Sized> InvocationMethod<'a, Key, Base> for ReadAll where Key: Debug + Ord + 'a, Base: Any
[src]

type Args = ()

type Ret = ServiceReadGuardMap<'a, Key, Base>

type Error = LockError<&'a Key>

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