BoxFuture

Type Alias BoxFuture 

Source
pub type BoxFuture<T> = Pin<Box<dyn Future<Output = T> + Send + 'static>>;
Expand description

A boxed, sendable, 'static future — the return type of every async callback and hook in the runtime.

Aliased Type§

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