Trait result::ResultOptionExt [] [src]

pub trait ResultOptionExt {
    type Out;
    fn invert(self) -> Self::Out;
}

Extension trait for nested Option and Result types.

Associated Types

The inverted output type of the operation.

Required Methods

Inverts a nested Option<Result<T, E>> or Result<Option<T>, E>

Implementors