pub trait IExecutor {
// Required methods
fn get_active_states<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<(DynState, ActiveStateMeta)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add_state_machines_dbtx<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dbtx: &'life1 mut DatabaseTransaction<'life2>,
states: Vec<DynState>,
) -> Pin<Box<dyn Future<Output = AddStateMachinesResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}