OptionTranspose<T, E> extension

Provides the transpose() method to Option type values that hold a Result.

on

Methods

transpose() Result<Option<T>, E>
Transposes this Option<Result<T, E>> into a Result<Option<T>, E>.