pub trait Module: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn version(&self) -> &str;
fn display_name(&self) -> &str;
fn initialize<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Core module trait - minimal interface