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>

Implementations on Foreign Types

impl<T, E> OptionResultExt for Option<Result<T, E>>
[src]

[src]

impl<T, E> ResultOptionExt for Result<Option<T>, E>
[src]

[src]

Implementors