insideout - Wrap composed types inside-out
Turn Option<Result<O, E>> into <Result<Option<O>, E>> and the other way around.
Also for Iterators and potentially other types.
Feel free to submit PR for other types where this operation makes sense.
Turn Option<Result<O, E>> into <Result<Option<O>, E>> and the other way around.
Also for Iterators and potentially other types.
Feel free to submit PR for other types where this operation makes sense.