EnterprisePlugin

Trait EnterprisePlugin 

Source
pub trait EnterprisePlugin: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn initialize(&mut self, context: &mut RuntimeContext) -> Result<()>;
    fn features(&self) -> Vec<String>;
    fn shutdown(&mut self) -> Result<()>;

    // Provided methods
    fn version(&self) -> &str { ... }
    fn is_compatible(&self, runtime_version: &str) -> bool { ... }
}
Expand description

Enterprise plugin trait for runtime feature extension This enables clean separation between community and enterprise features

Required Methods§

Source

fn name(&self) -> &str

Plugin identification

Source

fn initialize(&mut self, context: &mut RuntimeContext) -> Result<()>

Initialize plugin with the runtime context

Source

fn features(&self) -> Vec<String>

List of features this plugin provides

Source

fn shutdown(&mut self) -> Result<()>

Cleanup when plugin is unloaded

Provided Methods§

Source

fn version(&self) -> &str

Plugin version for compatibility checking

Source

fn is_compatible(&self, runtime_version: &str) -> bool

Check if plugin is compatible with runtime version

Implementors§