[−][src]Trait aerosol::ProvideWith
Allows cloning a context whilst replacing one dependency with a different implementation. Must be explicitly listed as a super-trait of an interface to use.
Allows cloning a context whilst replacing one dependency with a different implementation. Must be explicitly listed as a super-trait of an interface to use.
fn provide_with<E, F: FnOnce(T) -> Result<T, E>>(&self, f: F) -> Result<Self, E>