What does the 'static lifetime mean in a trait bound in a Rust future? [duplicate]
This question already has an answer here: Why does the Rust compiler request I constrain a generic type parameter's lifetime (error E0309)? 1 answer Why is the bound `T: 'a` required in order to store a reference `&'a T`? 2 answers The compiler suggests I add a 'static lifetime because the parameter type may not live long enough, but I don't think that's what I want 2 answers I thought that I've got what the 'static lifetime is, but now I'm not sure. I'm trying to understand how to work with Tokio and Futures. My app is working, but the structure is awful, so I need to decompose it. Here comes