Trait majordome::AppMod

source ·
pub trait AppMod
where Self: Sized,
{ type InitOptions: Hash + Clone + Send + Sync + Eq; type ModConfig: Hash + Clone + Send + Sync + PartialEq + Eq + Debug; const VERSION: &'static str = "unknown"; // Required methods fn config<'life0, 'async_trait>( builder: &'life0 mut AppModBuilder, opt: AppModInitOptions<Self::InitOptions> ) -> Pin<Box<dyn Future<Output = Result<Self::ModConfig, MajordomeError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn init<'life0, 'async_trait>( builder: &'life0 mut AppModBuilder, config: Self::ModConfig ) -> Pin<Box<dyn Future<Output = Result<Self, MajordomeError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }

Required Associated Types§

Provided Associated Constants§

source

const VERSION: &'static str = "unknown"

Required Methods§

source

fn config<'life0, 'async_trait>( builder: &'life0 mut AppModBuilder, opt: AppModInitOptions<Self::InitOptions> ) -> Pin<Box<dyn Future<Output = Result<Self::ModConfig, MajordomeError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn init<'life0, 'async_trait>( builder: &'life0 mut AppModBuilder, config: Self::ModConfig ) -> Pin<Box<dyn Future<Output = Result<Self, MajordomeError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§