Trait IteratorMatcherExt
pub trait IteratorMatcherExt<'a, M, Request>: Iterator<Item = &'a M> + 'awhere
M: Matcher<Request>,{
// Required methods
fn matches_and(
self,
ext: Option<&mut Extensions>,
request: &Request,
) -> bool;
fn matches_or(self, ext: Option<&mut Extensions>, request: &Request) -> bool;
}
Required Methods§
fn matches_and(self, ext: Option<&mut Extensions>, request: &Request) -> bool
fn matches_and(self, ext: Option<&mut Extensions>, request: &Request) -> bool
Matches in case all Matcher
elements match for the given Request
within the specified [crate::Context
].
fn matches_or(self, ext: Option<&mut Extensions>, request: &Request) -> bool
fn matches_or(self, ext: Option<&mut Extensions>, request: &Request) -> bool
Matches in case any of the Matcher
elements match for the given Request
within the specified [crate::Context
].