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§
Sourcefn initialize(&mut self, context: &mut RuntimeContext) -> Result<()>
fn initialize(&mut self, context: &mut RuntimeContext) -> Result<()>
Initialize plugin with the runtime context
Provided Methods§
Sourcefn is_compatible(&self, runtime_version: &str) -> bool
fn is_compatible(&self, runtime_version: &str) -> bool
Check if plugin is compatible with runtime version