futures_util::future

Type Alias LocalBoxFuture

Source
pub type LocalBoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + 'a>>;
Expand description

BoxFuture, but without the Send requirement.

This type is often created by the boxed_local method on FutureExt. See its documentation for more.

Aliased Typeยง

struct LocalBoxFuture<'a, T> {}