Trait cluster_test::experiments::Experiment
source · pub trait Experiment: Display + Send {
// Required methods
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
context: &'life1 mut Context<'life2>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn deadline(&self) -> Duration;
// Provided method
fn affected_validators(&self) -> HashSet<String> { ... }
}