Struct ioc::WriteAll [] [src]

pub struct WriteAll(_);

Trait Implementations

impl<'a, Key, Base: ?Sized> InvocationMethod<'a, Key, Base> for WriteAll where Key: ServiceKey + 'a, Base: Any
[src]

type Args = ()

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

type Error = LockError<'a, Key>

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