Trait enso_prelude::ResultUnwrapBoth[][src]

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

Associated Types

Required methods

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

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

Implementations on Foreign Types

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

type Item = T

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

Implementors