Trait PluginHandler
Source pub trait PluginHandler {
// Required methods
fn on_resolve<'life0, 'async_trait>(
&'life0 self,
_args: OnResolveArgs,
) -> Pin<Box<dyn Future<Output = Result<Option<OnResolveResult>, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_load<'life0, 'async_trait>(
&'life0 self,
_args: OnLoadArgs,
) -> Pin<Box<dyn Future<Output = Result<Option<OnLoadResult>, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_start<'life0, 'async_trait>(
&'life0 self,
_args: OnStartArgs,
) -> Pin<Box<dyn Future<Output = Result<Option<OnStartResult>, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_end<'life0, 'async_trait>(
&'life0 self,
_args: OnEndArgs,
) -> Pin<Box<dyn Future<Output = Result<Option<OnEndResult>, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}