Skip to main content

MatcherConfigSetters

Trait MatcherConfigSetters 

Source
pub trait MatcherConfigSetters: Holds<MatcherConfig> + Sized {
    // Required method
    fn rule(self, value: impl Into<Vec<MatchRule>>) -> Self;
}
Expand description

The typed setters of MatcherConfig, for any builder that holds its settings.

Required Methods§

Source

fn rule(self, value: impl Into<Vec<MatchRule>>) -> Self

The rules, in the order they are tried. An empty list matches nobody.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<__B> MatcherConfigSetters for __B
where __B: Holds<MatcherConfig>,