Trait mcoffin_option_ext::result::ResultExtTup [−][src]
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]
Ret: Sized,
EE: Into<E>,
F: FnOnce(&T) -> Result<Ret, EE>,
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]
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>,
[src]
EE: Into<E>,
fn and_tup_flipped<Ret, EE: Into<E>>(
self,
v: Result<Ret, EE>
) -> Result<(Ret, T), E>
[src]
self,
v: Result<Ret, EE>
) -> Result<(Ret, T), E>
Implementations on Foreign Types
impl<T: Sized, E: Sized> ResultExtTup<T, E> for Result<T, E>
[src]
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]
Ret: Sized,
EE: Into<E>,
F: FnOnce(&T) -> Result<Ret, EE>,