3 ms·
Thanks for the hint with the „iteration“ function. I haven’t touched Closure in some years but had a problem a few month ago where I wanted to iterate over item
by larusso 4y ago
Thanks for the hint with the „iteration“ function. I haven’t touched Closure in some years but had a problem a few month ago where I wanted to iterate over items returned from a REST Api which where presented in a pageable API with rust. I managed to cook up a solution with a custom iterator trait impl. Doesn‘t work with async though and I had a hard time to find a solution/search term for this problem. Don‘t know if any of this is applicable to rust but at least another resource.