Type Alias futures_utils_wasm::BoxFuture

source ·
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Available on crate feature alloc only.
Expand description

Type alias for a pin-boxed future, with a Send bound on non-wasm targets.

Aliased Type§

struct BoxFuture<'a, T> { /* private fields */ }