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ยง
struct BoxFuture<T> {}