[][src]Macro httptest::all_of

macro_rules! all_of {
    ($($x:expr),*) => { ... };
    ($($x:expr,)*) => { ... };
}

true if all the provided matchers return true.

The macro exists to conveniently box a list of matchers and put them into a Vec<Box<dyn Matcher>>. The translation is:

all_of![a, b] => all_of(vec![Box::new(a), Box::new(b)])