futures_core::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> {}

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes