Trait Test
tera
pub trait Test: Sync + Send { fn test(&self, value: Option<&Value>, args: &[Value]) -> Result<bool>; }
The tester function type definition
fn test(&self, value: Option<&Value>, args: &[Value]) -> Result<bool>
impl<F> Test for F where F: Fn(Option<&Value>, &[Value]) -> Result<bool> + Sync + Send,