Propogate errors from iter filter

⚓ rust    📅 2025-05-21    👤 surdeus    👁️ 4      

surdeus

Warning

This post was published 39 days ago. The information described in this article may have changed.

Hello! I am using a filter (instead of filter_map) very similar to this: https://stackoverflow.com/a/75880545/2561501

In my particular case there is the possibility of an error because of OsStr to Str conversion in the filter. Is there a way to propagate errors from the filter?

2 posts - 2 participants

Read full topic

🏷️ rust_feed