Ive been trying to achieve the following using
However, it fails with the above error. Is there any way to work around this? I've been trying to get around this issue myself, but it feels as if i either dont understand enough about lifetimes and async, or the crate has a bug.
Any help would be appreciated!