Trait PathMatcherExt

Source
pub trait PathMatcherExt: Sized + PathMatcher {
    // Provided methods
    fn and<R>(self, right: R) -> PathMatcherAnd<Self, R>
       where R: PathMatcher { ... }
    fn or<R>(self, right: R) -> PathMatcherOr<Self, R>
       where R: PathMatcher { ... }
}
Expand description

Extends PathMatcher with combinator functions.

Provided Methods§

Source

fn and<R>(self, right: R) -> PathMatcherAnd<Self, R>
where R: PathMatcher,

Source

fn or<R>(self, right: R) -> PathMatcherOr<Self, R>
where R: PathMatcher,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F> PathMatcherExt for F
where F: PathMatcher,