Trait jsonrpc_core::WrapFuture
source · 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.