pub trait Transpose<T> {
// Required method
fn transpose(self) -> T;
}
Expand description
Enables the transpose
function on FlagOrValue
containing or being
contained in Option
or Result
.
Required Methods§
Sourcefn transpose(self) -> T
fn transpose(self) -> T
Should behave equivalent to the built-in transpose
functions available
on Result<Option>
and
Option<Result>
.