pub trait Executor {
// Required methods
fn execute_script<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
script: &'life1 Script,
args: &'life2 [String],
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn run_test<'life0, 'life1, 'async_trait>(
&'life0 self,
script: &'life1 Script,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Trait for executing scripts
Required Methods§
Sourcefn execute_script<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
script: &'life1 Script,
args: &'life2 [String],
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute_script<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
script: &'life1 Script,
args: &'life2 [String],
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute a script with given arguments