how big is your future?

I am, of course, talking about std::future::Future . There are two ways of creating a Future in Rust, you can define some struct or enum , and then implement the Future trait on it or via Rust&#x27;s async keyword. Any async block ( async { .. } ) or async function ( async fn foo() { .. } ) returns a future. If you want to learn more about how this works, have a look at my series of posts on how I…