Type Alias jsonrpc_core::BoxFuture

source ·
pub type BoxFuture<T> = Pin<Box<dyn Future<Output = T> + Send>>;
Expand description

A Future trait object.

Aliased Type§

struct BoxFuture<T> { /* private fields */ }

Trait Implementations§

source§

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

source§

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

Convert itself into a boxed future.