pub trait WrapFuture<T, E> {
// Required method
fn into_future(self) -> BoxFuture<Result<T, E>>;
}
Expand description
A future-conversion trait.
Required Methods§
Sourcefn into_future(self) -> BoxFuture<Result<T, E>>
fn into_future(self) -> BoxFuture<Result<T, E>>
Convert itself into a boxed future.