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>.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".