pub trait Predicate<T: Matchable> {
// Required methods
fn test(&self, value: &T) -> bool;
fn test_detailed(&self, value: &T) -> ConditionResult;
}Expand description
Trait for individual condition/predicate evaluation.
Implemented by Condition to evaluate
a single rule against a value.
Required Methods§
Sourcefn test_detailed(&self, value: &T) -> ConditionResult
fn test_detailed(&self, value: &T) -> ConditionResult
Test with detailed result information.