How to put a future in Pin<Box<>> without .boxed()?

There is an issue already:

Some threads from the user forum:

It seems it's sometimes related to lifetimes of the closure. Sometimes you can work around that with a dedicated function on which you can set for<'a>, although nobody has posted an example of that I think.

In the last thread it seems to be related to Send.

1 Like