Trait enso_flexer::prelude::ResultUnwrapBoth[][src]

pub trait ResultUnwrapBoth {
    type Item;
    fn unwrap_both(self) -> Self::Item;
}

Associated Types

Loading content...

Required methods

fn unwrap_both(self) -> Self::Item[src]

Expand description

Unwrap either Ok or Err. Possible onl if both have the same type

Loading content...

Implementations on Foreign Types

impl<T> ResultUnwrapBoth for Result<T, T>[src]

type Item = T

pub fn unwrap_both(self) -> <Result<T, T> as ResultUnwrapBoth>::Item[src]

Loading content...

Implementors

Loading content...