[][src]Struct eff::poll_fn::PollFn

pub struct PollFn<F>(_);

Trait Implementations

impl<T, Effect, F> Effectful for PollFn<F> where
    F: FnMut(&Context) -> Poll<T, Effect>, 
[src]

type Output = T

The type of the final result

type Effect = Effect

The type of the effects this computation will produce

impl<F> Unpin for PollFn<F>[src]

impl<F: Debug> Debug for PollFn<F>[src]

Auto Trait Implementations

impl<F> Send for PollFn<F> where
    F: Send

impl<F> Sync for PollFn<F> where
    F: Sync

impl<F> UnwindSafe for PollFn<F> where
    F: UnwindSafe

impl<F> RefUnwindSafe for PollFn<F> where
    F: 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]