[][src]Struct eff::futures_compat::future::IntoFuture

pub struct IntoFuture<C>(_);

A future that resolves the underlying computation on poll. The computation cannot have any effects to be converted into a future.

Trait Implementations

impl<'pin, C> Unpin for IntoFuture<C> where
    __IntoFuture<'pin, C>: Unpin
[src]

impl<C> Future for IntoFuture<C> where
    C: Effectful<Effect = !>, 
[src]

type Output = C::Output

The type of value produced on completion.

Auto Trait Implementations

impl<C> Send for IntoFuture<C> where
    C: Send

impl<C> Sync for IntoFuture<C> where
    C: Sync

impl<C> UnwindSafe for IntoFuture<C> where
    C: UnwindSafe

impl<C> RefUnwindSafe for IntoFuture<C> where
    C: 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]

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]