Macro httptest::matchers::all_of[][src]

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

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)])