1 2 3 4 5 6
#[cfg(not(feature = "std"))] use alloc::boxed::Box; use core::pin::Pin; pub type PinBoxDynFeature<T> = Pin<Box<dyn Future<Output = T> + Send + 'static>>;