Is it possible to use fallible items such as StreamingIterator<Item = Result<Page, String>> ? If yes, how do we convert the errors?
It seems that if we use something like item.as_ref()? the error is borrowed and will have a lifetime, which makes it a bit more difficult to e.g. use in external erros such as External(Box<dyn Error + ...>)?
Is it possible to use fallible items such as
StreamingIterator<Item = Result<Page, String>>? If yes, how do we convert the errors?It seems that if we use something like
item.as_ref()?the error is borrowed and will have a lifetime, which makes it a bit more difficult to e.g. use in external erros such asExternal(Box<dyn Error + ...>)?