pub trait ExecutorHooks<T, U>: Send + Syncwhere
T: RuntimeFactors,{
// Provided methods
fn configure_app<'life0, 'life1, 'async_trait>(
&'life0 self,
configured_app: &'life1 ConfiguredApp<T>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn prepare_instance(
&self,
builder: &mut FactorsInstanceBuilder<'_, T, U>,
) -> Result<()> { ... }
}
Provided Methods§
Sourcefn configure_app<'life0, 'life1, 'async_trait>(
&'life0 self,
configured_app: &'life1 ConfiguredApp<T>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn configure_app<'life0, 'life1, 'async_trait>(
&'life0 self,
configured_app: &'life1 ConfiguredApp<T>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Configure app hooks run immediately after [RuntimeFactors::configure_app
].
Sourcefn prepare_instance(
&self,
builder: &mut FactorsInstanceBuilder<'_, T, U>,
) -> Result<()>
fn prepare_instance( &self, builder: &mut FactorsInstanceBuilder<'_, T, U>, ) -> Result<()>
Prepare instance hooks run immediately before FactorsExecutorApp::prepare
returns.