Type Alias DynFut

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

A dynamically typed, boxed, future. Useful for futures that need to ensure they are not capturing any of their inputs.

Aliased Typeยง

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