Type Definition interlink::msg::BoxFuture

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

Type alias for a future that is pinned and boxed with a specific return type (T) and lifetime (’a)

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.

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

Dereferences the value.