Flatten a nested Result by converting Result<Result<T, E>, E> to Result<T, E>.
Result
Result<Result<T, E>, E>
Result<T, E>
Result to flatten.
Flattened result.
Flatten a nested
Result
by convertingResult<Result<T, E>, E>
toResult<T, E>
.