It'll be good and useful if methods like filter, filter_map and their async version had a fallible version too.
sometimes we want filter or map some data in our code based on fallible source (let say a database for example) currently we can't check for errors when using these methods and we can only relay on fully skipping if a error happened, this is not ideal, so having functions like try_filter and try_map could be useful.
It'll be good and useful if methods like
filter,filter_mapand their async version had a fallible version too.sometimes we want filter or map some data in our code based on fallible source (let say a database for example) currently we can't check for errors when using these methods and we can only relay on fully skipping if a error happened, this is not ideal, so having functions like
try_filterandtry_mapcould be useful.