pub trait Test<Arg, Res>:
Sync
+ Send
+ 'staticwhere
Res: TestResult,{
// Required method
fn call(&self, value: Arg, kwargs: Kwargs, state: &State<'_>) -> Res;
}Expand description
The test function type definition
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".