[][src]Enum eff::Event

pub enum Event<T, Effect> {
    Complete(T),
    Effect(Effect),
}

An observable event of an effectful computation

Variants

Complete(T)

The computaion is complete

Effect(Effect)

An effect has been performed

Trait Implementations

impl<T: Debug, Effect: Debug> Debug for Event<T, Effect>[src]

Auto Trait Implementations

impl<T, Effect> Send for Event<T, Effect> where
    Effect: Send,
    T: Send

impl<T, Effect> Sync for Event<T, Effect> where
    Effect: Sync,
    T: Sync

impl<T, Effect> Unpin for Event<T, Effect> where
    Effect: Unpin,
    T: Unpin

impl<T, Effect> UnwindSafe for Event<T, Effect> where
    Effect: UnwindSafe,
    T: UnwindSafe

impl<T, Effect> RefUnwindSafe for Event<T, Effect> where
    Effect: RefUnwindSafe,
    T: 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]