pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;Expand description
A boxed future borrowed from the store and its arguments.
Mirrors rustlavel_cache::store::BoxFuture and exists for the same
reason: FlagStore has to be dyn-compatible, because an application
chooses its store at boot and everything downstream holds an
Arc<dyn FlagStore>. async fn in a trait is not dyn-compatible, so the
methods return this instead.
Aliased Typeยง
#[repr(transparent)]pub struct BoxFuture<'a, T> { /* private fields */ }