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§

1.33.0 · source§

impl<P> Deref for Pin<P>where P: Deref,

§

type Target = <P as Deref>::Target

The resulting type after dereferencing.
source§

fn deref(&self) -> &<P as Deref>::Target

Dereferences the value.
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.