[][src]Macro httptest::any_of

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

true if any of 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:

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