[][src]Struct eff::embed::EmbedEffect

pub struct EmbedEffect<C, Target, Indices>(_, _);

An effectful computation created by embed() combinator

EmbedEffect is used to "widen" the effect that the task will perform

Trait Implementations

impl<C, Target, Indices> Effectful for EmbedEffect<C, Target, Indices> where
    C: Effectful,
    C::Effect: Embed<Target, Indices>, 
[src]

type Output = C::Output

The type of the final result

type Effect = Target

The type of the effects this computation will produce

impl<'pin, C, Target, Indices> Unpin for EmbedEffect<C, Target, Indices> where
    __EmbedEffect<'pin, C, Target, Indices>: Unpin
[src]

Auto Trait Implementations

impl<C, Target, Indices> Send for EmbedEffect<C, Target, Indices> where
    C: Send,
    Indices: Send,
    Target: Send

impl<C, Target, Indices> Sync for EmbedEffect<C, Target, Indices> where
    C: Sync,
    Indices: Sync,
    Target: Sync

impl<C, Target, Indices> UnwindSafe for EmbedEffect<C, Target, Indices> where
    C: UnwindSafe,
    Indices: UnwindSafe,
    Target: UnwindSafe

impl<C, Target, Indices> RefUnwindSafe for EmbedEffect<C, Target, Indices> where
    C: RefUnwindSafe,
    Indices: RefUnwindSafe,
    Target: RefUnwindSafe

Blanket Implementations

impl<T> EmbedRest<T, Zero> for T[src]

impl<Head, Tail, N, Rest> EmbedRest<Either<Head, Tail>, Succ<N>> for Rest where
    Head: Effect,
    Rest: EmbedRest<Tail, N>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]