Skip to main content

PlatformModule

Trait PlatformModule 

Source
pub trait PlatformModule {
    // Required methods
    fn manifest(&self) -> ModuleManifest;
    fn register(
        &self,
        registry: &mut ServiceRegistry,
    ) -> Result<(), RegistrationError>;

    // Provided method
    fn install_migration_plan(&self) -> Option<MigrationPlan> { ... }
}

Required Methods§

Provided Methods§

Implementors§