Type Alias BoxFuture

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

A boxed static future.

  • On native platforms, it needs a Send requirement.
  • On the Web platform, it does not need a Send requirement.

Aliased Typeยง

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