Trait Test
pub trait Test<Arg, Res: TestResult>: Sync + Send + 'static
The test function type definition
Required Methods
fn call(&self, value: Arg, kwargs: Kwargs, state: &State<'_>) -> ResThe test function type definition
Implementors
impl<Func, Arg, Res> Test<Arg, Res> for Func where Func: Fn(Arg, Kwargs, &State<'_>) -> Res + Sync + Send + 'static, Arg: for<'a> ArgFromValue<'a>, Res: TestResult,