pub trait Checker<H, T>: Clone + 'static {
// Required method
fn check(&self, harness: &H, arguments: &T) -> Result<bool>;
}
Expand description
A Checker
is the actual instance that executes when a condition evaluates.
It is mostly used with the FunctionCondition
struct when given a closure/function.
It is implemented for closures of up to 16 arguments
Required Methods§
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.