pub fn any_of<IN>(inner: Vec<Box<dyn Mapper<IN, Out = bool>>>) -> AnyOf<IN>
where
    IN: ?Sized,
{
    AnyOf(inner)
}
/// true if any of the provided matchers returns true. See the `any_of!` macro
/// for convenient usage.
///
/// # Example
///
/// ```
/// use httptest::mappers::*;
///
/// // A request matcher that matches a request to path "/foo"
/// // or matches the reqex '^/test/(foo|bar)$'.
/// let mut m = any_of![
///     request::path("/foo"),
///     request::path(matches("^/test/(foo|bar)$")),
/// ];
///
/// # // Allow type inference to determine the request type.
/// # m.map(&http::Request::get("/").body("").unwrap());
/// ```
true if any of the provided matchers returns true. See the `any_of!` macro
for convenient usage.
true if any of the provided matchers returns true . See the ` any_of! ` macro for convenient usage .
pub fn any_of<IN>(inner: Vec<Box<dyn Mapper<IN, Out = bool>>>) -> AnyOf<IN>
where
    IN: ?Sized,
{
    AnyOf(inner)
}
pub fn any_of < IN > ( inner : Vec < Box < dyn Mapper < IN , Out = bool > > > ) -> AnyOf < IN > where IN : ? Sized , { AnyOf ( inner ) }
true if any of the provided matchers returns true.
true if any of the provided matchers returns true .
inner
Vec<Box<dyn Mapper<IN, Out = bool>>>
inner
Vec<Box<dyn Mapper<IN, Out = bool>>>
example
```
use httptest::mappers::*.

A request matcher that matches a request to path "/foo"
or matches the reqex '^/test/(foo|bar)$'.
` ` ` use httptest :: mappers :: * . A request matcher that matches a request to path " / foo " or matches the reqex ' ^ / test / ( foo|bar ) $ ' .
// allow type inference to determine the request type.
None
m.map(&http::request::get("/").body("").unwrap());
None