[][src]Enum eff::Poll

pub enum Poll<T, Effect> {
    Done(T),
    Effect(Effect),
    Pending,
}

The state of an effectful computation

Variants

Done(T)

The computation is done

Effect(Effect)

An effect has been performed

Pending

The computation is not ready to continue

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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

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