[][src]Trait streamson_lib::matcher::MatchMaker

pub trait MatchMaker: Debug + Send {
    fn match_path(&self, path: &Path) -> bool;
}

Common Matcher trait

Required methods

fn match_path(&self, path: &Path) -> bool

Check whether the path matches

Arguments

  • path - path to be matched (has to be a valid path)

Returns

  • true if path matches, false otherwise
Loading content...

Implementors

impl MatchMaker for Combinator[src]

impl MatchMaker for Depth[src]

impl MatchMaker for Simple[src]

Loading content...