[−][src]Trait eff::coproduct::Inject
A trait for constructing a coproduct from an effect and a task context
Required methods
fn inject(effect: E, cx: TypedContext<E>) -> Self
Construct a coproduct from an effect and a task context
Implementors
impl<E, F, Rest, Index> Inject<E, Succ<Index>> for Either<F, Rest> where
E: Effect,
F: Effect,
Rest: Inject<E, Index>,
[src]
E: Effect,
F: Effect,
Rest: Inject<E, Index>,
fn inject(effect: E, cx: TypedContext<E>) -> Self
[src]
impl<E, Rest> Inject<E, Zero> for Either<E, Rest> where
E: Effect,
[src]
E: Effect,