Skip to main content

parse_rule

Function parse_rule 

Source
pub fn parse_rule(spec: &str) -> Result<Query>
Expand description

One rule of a rule set: a parse_condition condition, or several joined with & (a compound: every part must match in one method, none of the ! parts).

ยงErrors

EngineError::Query for a syntax error, an unknown kind or an invalid value.