pub trait WrapFuture<T, E> {
    // Required method
    fn into_future(self) -> BoxFuture<Result<T, E>>;
}
Expand description

A future-conversion trait.

Required Methods§

source

fn into_future(self) -> BoxFuture<Result<T, E>>

Convert itself into a boxed future.

Implementations on Foreign Types§

source§

impl<T: Send + 'static, E: Send + 'static> WrapFuture<T, E> for Result<T, E>

Implementors§

source§

impl<T, E> WrapFuture<T, E> for BoxFuture<Result<T, E>>