Trait mcoffin_option_ext::result::ResultExtTup[][src]

pub trait ResultExtTup<T, E>: Sized {
    fn and_then_tup<F, Ret, EE>(self, f: F) -> Result<(T, Ret), E>
    where
        Ret: Sized,
        EE: Into<E>,
        F: FnOnce(&T) -> Result<Ret, EE>
; fn and_then_tup_flipped<F, Ret, EE>(self, f: F) -> Result<(Ret, T), E>
    where
        Ret: Sized,
        EE: Into<E>,
        F: FnOnce(&T) -> Result<Ret, EE>
, { ... }
fn and_tup<Ret, EE>(self, v: Result<Ret, EE>) -> Result<(T, Ret), E>
    where
        EE: Into<E>
, { ... }
fn and_tup_flipped<Ret, EE: Into<E>>(
        self,
        v: Result<Ret, EE>
    ) -> Result<(Ret, T), E> { ... } }

Required methods

fn and_then_tup<F, Ret, EE>(self, f: F) -> Result<(T, Ret), E> where
    Ret: Sized,
    EE: Into<E>,
    F: FnOnce(&T) -> Result<Ret, EE>, 
[src]

Loading content...

Provided methods

fn and_then_tup_flipped<F, Ret, EE>(self, f: F) -> Result<(Ret, T), E> where
    Ret: Sized,
    EE: Into<E>,
    F: FnOnce(&T) -> Result<Ret, EE>, 
[src]

fn and_tup<Ret, EE>(self, v: Result<Ret, EE>) -> Result<(T, Ret), E> where
    EE: Into<E>, 
[src]

fn and_tup_flipped<Ret, EE: Into<E>>(
    self,
    v: Result<Ret, EE>
) -> Result<(Ret, T), E>
[src]

Loading content...

Implementations on Foreign Types

impl<T: Sized, E: Sized> ResultExtTup<T, E> for Result<T, E>[src]

Loading content...

Implementors

Loading content...