pub trait Transform: Send {
// Required method
fn run<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait;
// Provided method
fn spawn(self: Box<Self>) -> JoinHandle<()>
where Self: 'static { ... }
}