[−][src]Macro join::try_join
Use to combine results.
extern crate join; use join::try_join; fn main() { let product = try_join! { Ok::<_,u8>(2) |> |v| v + 2, Ok::<_,u8>(3), Ok::<_,u8>(4), map => |a, b, c| a * b * c }.unwrap(); assert_eq!(product, 48); }