pub trait FutureExt: Future { // Provided method fn boxed<'a, T>(self) -> BoxFuture<'a, T> where Self: Future<Output = T> + Sized + Send + 'a { ... } }