[][src]Struct eff::handled::Handled

pub struct Handled<C, H, HC, E, I> where
    HC: Effectful
{ /* fields omitted */ }

An effectful computation with some effects handled

Trait Implementations

impl<C, Output, Effect, H, HC, HandledEffect, NewOutput, NewEffect, I> Effectful for Handled<C, H, HC, HandledEffect, I> where
    C: Effectful<Output = Output, Effect = Effect>,
    H: FnMut(Event<Output, HandledEffect>) -> HC,
    HC: Effectful<Output = NewOutput, Effect = Either<Continue<NewOutput>, NewEffect>>,
    Effect: Subset<HandledEffect, I, Remainder = NewEffect>, 
[src]

type Output = NewOutput

The type of the final result

type Effect = NewEffect

The type of the effects this computation will produce

impl<C, H, HC, E, I> Debug for Handled<C, H, HC, E, I> where
    C: Debug,
    H: Debug,
    HC: Effectful + Debug,
    HC::Output: Debug
[src]

Auto Trait Implementations

impl<C, H, HC, E, I> Send for Handled<C, H, HC, E, I> where
    C: Send,
    E: Send,
    H: Send,
    HC: Send,
    I: Send,
    <HC as Effectful>::Output: Send

impl<C, H, HC, E, I> Sync for Handled<C, H, HC, E, I> where
    C: Sync,
    E: Sync,
    H: Sync,
    HC: Sync,
    I: Sync,
    <HC as Effectful>::Output: Send

impl<C, H, HC, E, I> Unpin for Handled<C, H, HC, E, I> where
    C: Unpin,
    E: Unpin,
    H: Unpin,
    I: Unpin

impl<C, H, HC, E, I> !UnwindSafe for Handled<C, H, HC, E, I>

impl<C, H, HC, E, I> !RefUnwindSafe for Handled<C, H, HC, E, I>

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]