1 2 3 4 5 6 7 8 9 10
use cgp::prelude::*; #[derive_component(TestRunnerComponent, TestRunner<Setup>)] #[async_trait] pub trait CanRunTest<Test>: Async + HasErrorType where Test: Async, { async fn run_test(&self, test: &Test) -> Result<(), Self::Error>; }