pub trait ExecutorHooksTuple<I, S> {
// Required methods
fn init_all(&mut self, state: &mut S);
fn pre_exec_all(&mut self, state: &mut S, input: &I);
fn post_exec_all(&mut self, state: &mut S, input: &I);
}
Expand description
The hook that runs before and after the executor runs the target
Required Methods§
Sourcefn pre_exec_all(&mut self, state: &mut S, input: &I)
fn pre_exec_all(&mut self, state: &mut S, input: &I)
The hooks that runs before runs the target
Sourcefn post_exec_all(&mut self, state: &mut S, input: &I)
fn post_exec_all(&mut self, state: &mut S, input: &I)
The hooks that runs after runs the target