1//! Future related utilities. 2use std::future::Future; 3use std::pin::Pin; 4 5/// A boxed future. 6pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;